Package br.unip.aps.ml
Record Class Preditor.ResultadoML
java.lang.Object
java.lang.Record
br.unip.aps.ml.Preditor.ResultadoML
- Enclosing class:
Preditor
public static record Preditor.ResultadoML(Preditor.Parametros parametros, OperationMetrics ordenacaoPreparo, int municipios, PrevisaoFocos.Resultado regressao, ClassificadorNivel.Resultado classificacao, ClusterizacaoHotspots.Resultado kMeans, ClusterizacaoHotspots.Resultado dbscan, double[] cotovelo, long duracaoMs)
extends Record
Resultado consolidado.
-
Constructor Summary
ConstructorsConstructorDescriptionResultadoML(Preditor.Parametros parametros, OperationMetrics ordenacaoPreparo, int municipios, PrevisaoFocos.Resultado regressao, ClassificadorNivel.Resultado classificacao, ClusterizacaoHotspots.Resultado kMeans, ClusterizacaoHotspots.Resultado dbscan, double[] cotovelo, long duracaoMs) Creates an instance of aResultadoMLrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theclassificacaorecord component.double[]cotovelo()Returns the value of thecotovelorecord component.dbscan()Returns the value of thedbscanrecord component.longReturns the value of theduracaoMsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.kMeans()Returns the value of thekMeansrecord component.intReturns the value of themunicipiosrecord component.Returns the value of theordenacaoPreparorecord component.Returns the value of theparametrosrecord component.Returns the value of theregressaorecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ResultadoML
public ResultadoML(Preditor.Parametros parametros, OperationMetrics ordenacaoPreparo, int municipios, PrevisaoFocos.Resultado regressao, ClassificadorNivel.Resultado classificacao, ClusterizacaoHotspots.Resultado kMeans, ClusterizacaoHotspots.Resultado dbscan, double[] cotovelo, long duracaoMs) Creates an instance of aResultadoMLrecord class.- Parameters:
parametros- the value for theparametrosrecord componentordenacaoPreparo- the value for theordenacaoPreparorecord componentmunicipios- the value for themunicipiosrecord componentregressao- the value for theregressaorecord componentclassificacao- the value for theclassificacaorecord componentkMeans- the value for thekMeansrecord componentdbscan- the value for thedbscanrecord componentcotovelo- the value for thecotovelorecord componentduracaoMs- the value for theduracaoMsrecord 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 '=='. -
parametros
Returns the value of theparametrosrecord component.- Returns:
- the value of the
parametrosrecord component
-
ordenacaoPreparo
Returns the value of theordenacaoPreparorecord component.- Returns:
- the value of the
ordenacaoPreparorecord component
-
municipios
public int municipios()Returns the value of themunicipiosrecord component.- Returns:
- the value of the
municipiosrecord component
-
regressao
Returns the value of theregressaorecord component.- Returns:
- the value of the
regressaorecord component
-
classificacao
Returns the value of theclassificacaorecord component.- Returns:
- the value of the
classificacaorecord component
-
kMeans
Returns the value of thekMeansrecord component.- Returns:
- the value of the
kMeansrecord component
-
dbscan
Returns the value of thedbscanrecord component.- Returns:
- the value of the
dbscanrecord component
-
cotovelo
public double[] cotovelo()Returns the value of thecotovelorecord component.- Returns:
- the value of the
cotovelorecord component
-
duracaoMs
public long duracaoMs()Returns the value of theduracaoMsrecord component.- Returns:
- the value of the
duracaoMsrecord component
-