Partager via


AnomalyDetectionModel Class

Response of getting a model.

Readonly variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.ai.anomalydetector._model_base.Model
AnomalyDetectionModel

Constructor

AnomalyDetectionModel(*args: Any, **kwargs: Any)

Variables

Name Description
model_id
str

Model identifier. Required.

created_time

Date and time (UTC) when the model was created. Required.

last_updated_time

Date and time (UTC) when the model was last updated. Required.

model_info

Training result of a model including its status, errors and diagnostics information.

Methods

clear
copy
get
items
keys
pop
popitem
setdefault
update
values

clear

clear() -> None

copy

copy()

get

get(key: str, default: Any = None) -> Any

Parameters

Name Description
key
Required
default
Default value: None

items

items() -> ItemsView

keys

keys() -> KeysView

pop

pop(key: ~typing.Any, default: ~typing.Any = <object object>) -> Any

Parameters

Name Description
key
Required
default

popitem

popitem() -> Tuple[str, Any]

setdefault

setdefault(key: ~typing.Any, default: ~typing.Any = <object object>) -> Any

Parameters

Name Description
key
Required
default

update

update(*args: Any, **kwargs: Any) -> None

values

values() -> ValuesView

Attributes

created_time

Date and time (UTC) when the model was created. Required.

created_time: datetime

last_updated_time

Date and time (UTC) when the model was last updated. Required.

last_updated_time: datetime

model_id

Model identifier. Required.

model_id: str

model_info

Training result of a model including its status, errors and diagnostics information.

model_info: _models.ModelInfo | None