Class ModelState

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

public final class ModelState extends Object
Model status.
  • Constructor Details

    • ModelState

      public ModelState()
      Creates an instance of ModelState class.
  • Method Details

    • getEpochIds

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

      public ModelState setEpochIds(List<Integer> 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.
    • getTrainLosses

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

      public 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.
      Parameters:
      trainLosses - the trainLosses value to set.
      Returns:
      the ModelState object itself.
    • getValidationLosses

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

      public 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.
      Parameters:
      validationLosses - the validationLosses value to set.
      Returns:
      the ModelState object itself.
    • getLatenciesInSeconds

      public List<Double> getLatenciesInSeconds()
      Get the latenciesInSeconds property: Latency for each epoch.
      Returns:
      the latenciesInSeconds value.
    • setLatenciesInSeconds

      public ModelState setLatenciesInSeconds(List<Double> latenciesInSeconds)
      Set the latenciesInSeconds property: Latency for each epoch.
      Parameters:
      latenciesInSeconds - the latenciesInSeconds value to set.
      Returns:
      the ModelState object itself.