Package br.unip.aps.ml
Record Class EstudoPrevisao.Janela
java.lang.Object
java.lang.Record
br.unip.aps.ml.EstudoPrevisao.Janela
- All Implemented Interfaces:
Serializable
- Enclosing class:
EstudoPrevisao
public static record EstudoPrevisao.Janela(int anoTeste, String treino, int linhasTreino, int linhasTeste, EstudoPrevisao.Linha modelo, EstudoPrevisao.Linha persistencia, EstudoPrevisao.Linha mediaHistorica, EstudoPrevisao.Linha sazonal)
extends Record
implements Serializable
Uma janela da validacao temporal (rolling origin).
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionJanela(int anoTeste, String treino, int linhasTreino, int linhasTeste, EstudoPrevisao.Linha modelo, EstudoPrevisao.Linha persistencia, EstudoPrevisao.Linha mediaHistorica, EstudoPrevisao.Linha sazonal) Creates an instance of aJanelarecord class. -
Method Summary
Modifier and TypeMethodDescriptionintanoTeste()Returns the value of theanoTesterecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intReturns the value of thelinhasTesterecord component.intReturns the value of thelinhasTreinorecord component.Returns the value of themediaHistoricarecord component.modelo()Returns the value of themodelorecord component.Returns the value of thepersistenciarecord component.sazonal()Returns the value of thesazonalrecord component.final StringtoString()Returns a string representation of this record class.treino()Returns the value of thetreinorecord component.
-
Constructor Details
-
Janela
public Janela(int anoTeste, String treino, int linhasTreino, int linhasTeste, EstudoPrevisao.Linha modelo, EstudoPrevisao.Linha persistencia, EstudoPrevisao.Linha mediaHistorica, EstudoPrevisao.Linha sazonal) Creates an instance of aJanelarecord class.- Parameters:
anoTeste- the value for theanoTesterecord componenttreino- the value for thetreinorecord componentlinhasTreino- the value for thelinhasTreinorecord componentlinhasTeste- the value for thelinhasTesterecord componentmodelo- the value for themodelorecord componentpersistencia- the value for thepersistenciarecord componentmediaHistorica- the value for themediaHistoricarecord componentsazonal- the value for thesazonalrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
anoTeste
public int anoTeste()Returns the value of theanoTesterecord component.- Returns:
- the value of the
anoTesterecord component
-
treino
Returns the value of thetreinorecord component.- Returns:
- the value of the
treinorecord component
-
linhasTreino
public int linhasTreino()Returns the value of thelinhasTreinorecord component.- Returns:
- the value of the
linhasTreinorecord component
-
linhasTeste
public int linhasTeste()Returns the value of thelinhasTesterecord component.- Returns:
- the value of the
linhasTesterecord component
-
modelo
Returns the value of themodelorecord component.- Returns:
- the value of the
modelorecord component
-
persistencia
Returns the value of thepersistenciarecord component.- Returns:
- the value of the
persistenciarecord component
-
mediaHistorica
Returns the value of themediaHistoricarecord component.- Returns:
- the value of the
mediaHistoricarecord component
-
sazonal
Returns the value of thesazonalrecord component.- Returns:
- the value of the
sazonalrecord component
-