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