Package br.unip.aps.ml
Record Class EstudoPrevisao.Intervalo
java.lang.Object
java.lang.Record
br.unip.aps.ml.EstudoPrevisao.Intervalo
- All Implemented Interfaces:
Serializable
- Enclosing class:
EstudoPrevisao
public static record EstudoPrevisao.Intervalo(double quantil, double meiaLargura, double coberturaEsperada, double coberturaCalibracao, double coberturaTeste, int anoCalibracao, int anoTeste)
extends Record
implements Serializable
Intervalo de previsao conforme (split conformal).
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionIntervalo(double quantil, double meiaLargura, double coberturaEsperada, double coberturaCalibracao, double coberturaTeste, int anoCalibracao, int anoTeste) Creates an instance of aIntervalorecord class. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of theanoCalibracaorecord component.intanoTeste()Returns the value of theanoTesterecord component.doubleReturns the value of thecoberturaCalibracaorecord component.doubleReturns the value of thecoberturaEsperadarecord component.doubleReturns the value of thecoberturaTesterecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.doubleReturns the value of themeiaLargurarecord component.doublequantil()Returns the value of thequantilrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Intervalo
public Intervalo(double quantil, double meiaLargura, double coberturaEsperada, double coberturaCalibracao, double coberturaTeste, int anoCalibracao, int anoTeste) Creates an instance of aIntervalorecord class.- Parameters:
quantil- the value for thequantilrecord componentmeiaLargura- the value for themeiaLargurarecord componentcoberturaEsperada- the value for thecoberturaEsperadarecord componentcoberturaCalibracao- the value for thecoberturaCalibracaorecord componentcoberturaTeste- the value for thecoberturaTesterecord componentanoCalibracao- the value for theanoCalibracaorecord componentanoTeste- the value for theanoTesterecord 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. All components in this record class are compared with '=='. -
quantil
public double quantil()Returns the value of thequantilrecord component.- Returns:
- the value of the
quantilrecord component
-
meiaLargura
public double meiaLargura()Returns the value of themeiaLargurarecord component.- Returns:
- the value of the
meiaLargurarecord component
-
coberturaEsperada
public double coberturaEsperada()Returns the value of thecoberturaEsperadarecord component.- Returns:
- the value of the
coberturaEsperadarecord component
-
coberturaCalibracao
public double coberturaCalibracao()Returns the value of thecoberturaCalibracaorecord component.- Returns:
- the value of the
coberturaCalibracaorecord component
-
coberturaTeste
public double coberturaTeste()Returns the value of thecoberturaTesterecord component.- Returns:
- the value of the
coberturaTesterecord component
-
anoCalibracao
public int anoCalibracao()Returns the value of theanoCalibracaorecord component.- Returns:
- the value of the
anoCalibracaorecord component
-
anoTeste
public int anoTeste()Returns the value of theanoTesterecord component.- Returns:
- the value of the
anoTesterecord component
-