Class ModelInfo


  • public final class ModelInfo
    extends Object
    Train result of a model including status, errors and diagnose info for model and variables.
    • Constructor Detail

      • ModelInfo

        public ModelInfo()
    • Method Detail

      • getSlidingWindow

        public Integer getSlidingWindow()
        Get the slidingWindow property: An optional field, indicating how many previous points will be used to compute the anomaly score of the subsequent point.
        Returns:
        the slidingWindow value.
      • setSlidingWindow

        public ModelInfo setSlidingWindow​(Integer slidingWindow)
        Set the slidingWindow property: An optional field, indicating how many previous points will be used to compute the anomaly score of the subsequent point.
        Parameters:
        slidingWindow - the slidingWindow value to set.
        Returns:
        the ModelInfo object itself.
      • getAlignPolicy

        public AlignPolicy getAlignPolicy()
        Get the alignPolicy property: The alignPolicy property.
        Returns:
        the alignPolicy value.
      • setAlignPolicy

        public ModelInfo setAlignPolicy​(AlignPolicy alignPolicy)
        Set the alignPolicy property: The alignPolicy property.
        Parameters:
        alignPolicy - the alignPolicy value to set.
        Returns:
        the ModelInfo object itself.
      • getSource

        public String getSource()
        Get the source property: Source link to the input variables. Each variable should be a csv file with two columns, `timestamp` and `value`. By default, the file name of the variable will be used as its variable name.
        Returns:
        the source value.
      • setSource

        public ModelInfo setSource​(String source)
        Set the source property: Source link to the input variables. Each variable should be a csv file with two columns, `timestamp` and `value`. By default, the file name of the variable will be used as its variable name.
        Parameters:
        source - the source value to set.
        Returns:
        the ModelInfo object itself.
      • getStartTime

        public OffsetDateTime getStartTime()
        Get the startTime property: A required field, indicating the start time of training data. Should be date-time.
        Returns:
        the startTime value.
      • setStartTime

        public ModelInfo setStartTime​(OffsetDateTime startTime)
        Set the startTime property: A required field, indicating the start time of training data. Should be date-time.
        Parameters:
        startTime - the startTime value to set.
        Returns:
        the ModelInfo object itself.
      • getEndTime

        public OffsetDateTime getEndTime()
        Get the endTime property: A required field, indicating the end time of training data. Should be date-time.
        Returns:
        the endTime value.
      • setEndTime

        public ModelInfo setEndTime​(OffsetDateTime endTime)
        Set the endTime property: A required field, indicating the end time of training data. Should be date-time.
        Parameters:
        endTime - the endTime value to set.
        Returns:
        the ModelInfo object itself.
      • getDisplayName

        public String getDisplayName()
        Get the displayName property: An optional field. The name of the model whose maximum length is 24.
        Returns:
        the displayName value.
      • setDisplayName

        public ModelInfo setDisplayName​(String displayName)
        Set the displayName property: An optional field. The name of the model whose maximum length is 24.
        Parameters:
        displayName - the displayName value to set.
        Returns:
        the ModelInfo object itself.
      • getStatus

        public ModelStatus getStatus()
        Get the status property: Model training status.
        Returns:
        the status value.
      • getErrors

        public List<ErrorResponse> getErrors()
        Get the errors property: Error messages when failed to create a model.
        Returns:
        the errors value.
      • getDiagnosticsInfo

        public DiagnosticsInfo getDiagnosticsInfo()
        Get the diagnosticsInfo property: The diagnosticsInfo property.
        Returns:
        the diagnosticsInfo value.