Class ModelInfo
java.lang.Object
com.azure.ai.anomalydetector.models.ModelInfo
Train result of a model including status, errors and diagnose info for model and variables.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the alignPolicy property: The alignPolicy property.Get the diagnosticsInfo property: The diagnosticsInfo property.Get the displayName property: An optional field.Get the endTime property: A required field, indicating the end time of training data.Get the errors property: Error messages when failed to create a model.Get the slidingWindow property: An optional field, indicating how many previous points will be used to compute the anomaly score of the subsequent point.Get the source property: Source link to the input variables.Get the startTime property: A required field, indicating the start time of training data.Get the status property: Model training status.setAlignPolicy
(AlignPolicy alignPolicy) Set the alignPolicy property: The alignPolicy property.setDisplayName
(String displayName) Set the displayName property: An optional field.setEndTime
(OffsetDateTime endTime) Set the endTime property: A required field, indicating the end time of training data.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.Set the source property: Source link to the input variables.setStartTime
(OffsetDateTime startTime) Set the startTime property: A required field, indicating the start time of training data.
-
Constructor Details
-
ModelInfo
public ModelInfo()
-
-
Method Details
-
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
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
Get the alignPolicy property: The alignPolicy property.- Returns:
- the alignPolicy value.
-
setAlignPolicy
Set the alignPolicy property: The alignPolicy property.- Parameters:
alignPolicy
- the alignPolicy value to set.- Returns:
- the ModelInfo object itself.
-
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
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
Get the startTime property: A required field, indicating the start time of training data. Should be date-time.- Returns:
- the startTime value.
-
setStartTime
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
Get the endTime property: A required field, indicating the end time of training data. Should be date-time.- Returns:
- the endTime value.
-
setEndTime
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
Get the displayName property: An optional field. The name of the model whose maximum length is 24.- Returns:
- the displayName value.
-
setDisplayName
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
Get the status property: Model training status.- Returns:
- the status value.
-
getErrors
Get the errors property: Error messages when failed to create a model.- Returns:
- the errors value.
-
getDiagnosticsInfo
Get the diagnosticsInfo property: The diagnosticsInfo property.- Returns:
- the diagnosticsInfo value.
-