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 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 a Janela record class.
      Parameters:
      anoTeste - the value for the anoTeste record component
      treino - the value for the treino record component
      linhasTreino - the value for the linhasTreino record component
      linhasTeste - the value for the linhasTeste record component
      modelo - the value for the modelo record component
      persistencia - the value for the persistencia record component
      mediaHistorica - the value for the mediaHistorica record component
      sazonal - the value for the sazonal record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • anoTeste

      public int anoTeste()
      Returns the value of the anoTeste record component.
      Returns:
      the value of the anoTeste record component
    • treino

      public String treino()
      Returns the value of the treino record component.
      Returns:
      the value of the treino record component
    • linhasTreino

      public int linhasTreino()
      Returns the value of the linhasTreino record component.
      Returns:
      the value of the linhasTreino record component
    • linhasTeste

      public int linhasTeste()
      Returns the value of the linhasTeste record component.
      Returns:
      the value of the linhasTeste record component
    • modelo

      public EstudoPrevisao.Linha modelo()
      Returns the value of the modelo record component.
      Returns:
      the value of the modelo record component
    • persistencia

      public EstudoPrevisao.Linha persistencia()
      Returns the value of the persistencia record component.
      Returns:
      the value of the persistencia record component
    • mediaHistorica

      public EstudoPrevisao.Linha mediaHistorica()
      Returns the value of the mediaHistorica record component.
      Returns:
      the value of the mediaHistorica record component
    • sazonal

      public EstudoPrevisao.Linha sazonal()
      Returns the value of the sazonal record component.
      Returns:
      the value of the sazonal record component