Class ModelState
java.lang.Object
com.azure.ai.anomalydetector.models.ModelState
Model status.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the epochIds property: This indicates the number of passes of the entire training dataset the algorithm has completed.Get the latenciesInSeconds property: Latency for each epoch.Get the trainLosses property: List of metrics used to assess how the model fits the training data for each epoch.Get the validationLosses property: List of metrics used to assess how the model fits the validation set for each epoch.setEpochIds(List<Integer> epochIds) Set the epochIds property: This indicates the number of passes of the entire training dataset the algorithm has completed.setLatenciesInSeconds(List<Double> latenciesInSeconds) Set the latenciesInSeconds property: Latency for each epoch.setTrainLosses(List<Double> trainLosses) Set the trainLosses property: List of metrics used to assess how the model fits the training data for each epoch.setValidationLosses(List<Double> validationLosses) Set the validationLosses property: List of metrics used to assess how the model fits the validation set for each epoch.
-
Constructor Details
-
ModelState
public ModelState()Creates an instance of ModelState class.
-
-
Method Details
-
getEpochIds
Get the epochIds property: This indicates the number of passes of the entire training dataset the algorithm has completed.- Returns:
- the epochIds value.
-
setEpochIds
Set the epochIds property: This indicates the number of passes of the entire training dataset the algorithm has completed.- Parameters:
epochIds- the epochIds value to set.- Returns:
- the ModelState object itself.
-
getTrainLosses
Get the trainLosses property: List of metrics used to assess how the model fits the training data for each epoch.- Returns:
- the trainLosses value.
-
setTrainLosses
Set the trainLosses property: List of metrics used to assess how the model fits the training data for each epoch.- Parameters:
trainLosses- the trainLosses value to set.- Returns:
- the ModelState object itself.
-
getValidationLosses
Get the validationLosses property: List of metrics used to assess how the model fits the validation set for each epoch.- Returns:
- the validationLosses value.
-
setValidationLosses
Set the validationLosses property: List of metrics used to assess how the model fits the validation set for each epoch.- Parameters:
validationLosses- the validationLosses value to set.- Returns:
- the ModelState object itself.
-
getLatenciesInSeconds
Get the latenciesInSeconds property: Latency for each epoch.- Returns:
- the latenciesInSeconds value.
-
setLatenciesInSeconds
Set the latenciesInSeconds property: Latency for each epoch.- Parameters:
latenciesInSeconds- the latenciesInSeconds value to set.- Returns:
- the ModelState object itself.
-