ModelState Class

  • java.lang.Object
    • com.azure.ai.anomalydetector.models.ModelState

public final class ModelState

Model status.

Constructor Summary

Constructor Description
ModelState()

Creates an instance of ModelState class.

Method Summary

Modifier and Type Method and Description
List<Integer> getEpochIds()

Get the epochIds property: This indicates the number of passes of the entire training dataset the algorithm has completed.

List<Double> getLatenciesInSeconds()

Get the latenciesInSeconds property: Latency for each epoch.

List<Double> getTrainLosses()

Get the trainLosses property: List of metrics used to assess how the model fits the training data for each epoch.

List<Double> getValidationLosses()

Get the validationLosses property: List of metrics used to assess how the model fits the validation set for each epoch.

ModelState setEpochIds(List<Integer> epochIds)

Set the epochIds property: This indicates the number of passes of the entire training dataset the algorithm has completed.

ModelState setLatenciesInSeconds(List<Double> latenciesInSeconds)

Set the latenciesInSeconds property: Latency for each epoch.

ModelState setTrainLosses(List<Double> trainLosses)

Set the trainLosses property: List of metrics used to assess how the model fits the training data for each epoch.

ModelState setValidationLosses(List<Double> validationLosses)

Set the validationLosses property: List of metrics used to assess how the model fits the validation set for each epoch.

Methods inherited from java.lang.Object

Constructor Details

ModelState

public ModelState()

Creates an instance of ModelState class.

Method Details

getEpochIds

public List getEpochIds()

Get the epochIds property: This indicates the number of passes of the entire training dataset the algorithm has completed.

Returns:

the epochIds value.

getLatenciesInSeconds

public List getLatenciesInSeconds()

Get the latenciesInSeconds property: Latency for each epoch.

Returns:

the latenciesInSeconds value.

getTrainLosses

public List 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.

getValidationLosses

public List 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.

setEpochIds

public ModelState setEpochIds(List epochIds)

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.

setLatenciesInSeconds

public ModelState setLatenciesInSeconds(List latenciesInSeconds)

Set the latenciesInSeconds property: Latency for each epoch.

Parameters:

latenciesInSeconds - the latenciesInSeconds value to set.

Returns:

the ModelState object itself.

setTrainLosses

public ModelState setTrainLosses(List trainLosses)

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.

setValidationLosses

public ModelState setValidationLosses(List validationLosses)

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.

Applies to