Orion
orion.
Orion Class.
The Orion Class provides the main anomaly detection functionalities of Orion and is responsible for the interaction with the underlying MLBlocks pipelines.
pipeline (str, dict or MLPipeline) –
An str with a path to a JSON file.
str
An str with the name of a registered pipeline.
An MLPipeline instance.
MLPipeline
A dict with an MLPipeline specification.
dict
hyperparameters (dict) – Additional hyperparameters to set to the Pipeline.
__init__
Initialize self. See help(type(self)) for accurate signature.
Methods
__init__([pipeline, hyperparameters])
Initialize self.
detect(data[, visualization])
detect
Detect anomalies in the given data..
evaluate(data, ground_truth[, fit, …])
evaluate
Evaluate the performance against ground truth anomalies.
fit(data, **kwargs)
fit
Fit the pipeline to the given data.
fit_detect(data[, visualization])
fit_detect
Fit the pipeline to the data and then detect anomalies.
load(path)
load
Load an Orion instance from a pickle file.
save(path)
save
Save this object using pickle.
Attributes
DEFAULT_PIPELINE
PIPELINES
PIPELINES_DIR