MODULE REFERENCE

model

anomx.models.base.model

Inference contract shared by native models and optional adapters.

Model

Model

Bases: BaseComponent, ABC

Produce model outputs without assuming training or a forecasting horizon.

Input and output shapes belong to the concrete model's signature. Trainable normality models extend this contract with fitting and persistence; an inference-only model does not need to implement either operation.

Members

predictmethod
predict(data: Any) -> Any

Return predictions, reconstructions, embeddings, or other model outputs.

Signature parameters
ParameterTypeDefault
dataAnyrequired

Returns Any