ModelInfo Class
- java.
lang. Object - com.
azure. ai. anomalydetector. models. ModelInfo
- com.
public final class ModelInfo
Training result of a model including its status, errors and diagnostics information.
Constructor Summary
Constructor | Description |
---|---|
ModelInfo(String dataSource, OffsetDateTime startTime, OffsetDateTime endTime) |
Creates an instance of Model |
Method Summary
Modifier and Type | Method and Description |
---|---|
Align |
getAlignPolicy()
Get the align |
Data |
getDataSchema()
Get the data |
String |
getDataSource()
Get the data |
Diagnostics |
getDiagnosticsInfo()
Get the diagnostics |
String |
getDisplayName()
Get the display |
Offset |
getEndTime()
Get the end |
List<Error |
getErrors()
Get the errors property: Error messages when failed to create a model. |
Integer |
getSlidingWindow()
Get the sliding |
Offset |
getStartTime()
Get the start |
Model |
getStatus()
Get the status property: Model status. |
Model |
setAlignPolicy(AlignPolicy alignPolicy)
Set the align |
Model |
setDataSchema(DataSchema dataSchema)
Set the data |
Model |
setDiagnosticsInfo(DiagnosticsInfo diagnosticsInfo)
Set the diagnostics |
Model |
setDisplayName(String displayName)
Set the display |
Model |
setSlidingWindow(Integer slidingWindow)
Set the sliding |
Model |
setStatus(ModelStatus status)
Set the status property: Model status. |
Methods inherited from java.lang.Object
Constructor Details
ModelInfo
public ModelInfo(String dataSource, OffsetDateTime startTime, OffsetDateTime endTime)
Creates an instance of ModelInfo class.
Parameters:
Method Details
getAlignPolicy
public AlignPolicy getAlignPolicy()
Get the alignPolicy property: An optional field, indicating the manner to align multiple variables.
Returns:
getDataSchema
public DataSchema getDataSchema()
Get the dataSchema property: Data schema of input data source: OneTable or MultiTable. The default DataSchema is OneTable.
Returns:
getDataSource
public String getDataSource()
Get the dataSource property: Source link to the input data to indicate an accessible Azure storage Uri, either pointed to an Azure blob storage folder, or pointed to a CSV file in Azure blob storage based on you data schema selection.
Returns:
getDiagnosticsInfo
public DiagnosticsInfo getDiagnosticsInfo()
Get the diagnosticsInfo property: Diagnostics information to help inspect the states of model or variable.
Returns:
getDisplayName
public String getDisplayName()
Get the displayName property: An optional field. The display name of the model whose maximum length is 24 characters.
Returns:
getEndTime
public OffsetDateTime getEndTime()
Get the endTime property: A required field, indicating the end time of training data, which should be date-time of ISO 8601 format.
Returns:
getErrors
public List
Get the errors property: Error messages when failed to create a model.
Returns:
getSlidingWindow
public Integer getSlidingWindow()
Get the slidingWindow property: An optional field, indicating how many previous timestamps will be used to detect whether the timestamp is anomaly or not.
Returns:
getStartTime
public OffsetDateTime getStartTime()
Get the startTime property: A required field, indicating the start time of training data, which should be date-time of ISO 8601 format.
Returns:
getStatus
public ModelStatus getStatus()
Get the status property: Model status. One of CREATED, RUNNING, READY, and FAILED.
Returns:
setAlignPolicy
public ModelInfo setAlignPolicy(AlignPolicy alignPolicy)
Set the alignPolicy property: An optional field, indicating the manner to align multiple variables.
Parameters:
Returns:
setDataSchema
public ModelInfo setDataSchema(DataSchema dataSchema)
Set the dataSchema property: Data schema of input data source: OneTable or MultiTable. The default DataSchema is OneTable.
Parameters:
Returns:
setDiagnosticsInfo
public ModelInfo setDiagnosticsInfo(DiagnosticsInfo diagnosticsInfo)
Set the diagnosticsInfo property: Diagnostics information to help inspect the states of model or variable.
Parameters:
Returns:
setDisplayName
public ModelInfo setDisplayName(String displayName)
Set the displayName property: An optional field. The display name of the model whose maximum length is 24 characters.
Parameters:
Returns:
setSlidingWindow
public ModelInfo setSlidingWindow(Integer slidingWindow)
Set the slidingWindow property: An optional field, indicating how many previous timestamps will be used to detect whether the timestamp is anomaly or not.
Parameters:
Returns:
setStatus
public ModelInfo setStatus(ModelStatus status)
Set the status property: Model status. One of CREATED, RUNNING, READY, and FAILED.
Parameters:
Returns:
Applies to
Azure SDK for Java