Module aivis_engine_v2_ad_sdk_python.training

Classes

class AnomalyDetectionTraining (handle, key)

Class for creating and handling anomaly detection training. This is your entry point for all training operations.

Private constructor. To create new instances use:

Static methods

def create(cls, data: AnomalyDetectionData, config_json: str) ‑> AnomalyDetectionTraining

@FlavourRequirement([Flavour.FULL])

Create anomaly detection training for given data and config.

Use AnomalyDetectionTraining.get_model() or AnomalyDetectionTraining.get_report() to get instances of DtoModel or DtoTrainingReport as JSON string.

Parameters

data : AnomalyDetectionData
Instance of anomaly detection data
config_json : str
DtoTrainingConfig as JSON string

Returns

AnomalyDetectionTraining
Instance of anomaly detection training

Methods

def destroy(self)

@FlavourRequirement([Flavour.FULL])

Destroy this anomaly detection training. It's always safe to destroy a training. Internally the destruction only takes place after all references to this object have been released.

def get_model(self) ‑> str

@FlavourRequirement([Flavour.FULL])

Get this training's DtoModel.

Returns

str
DtoModel as JSON string
def get_report(self) ‑> str

@FlavourRequirement([Flavour.FULL])

Get this training's DtoTrainingReport.

Returns

str
DtoTrainingReport as JSON string