AbstractInferencer is the base class for all inferencers.

AbstractInferencer dataclass

Bases: ABC

The AbstractInferencer serves as the base for all concrete Inferencer classes. The most common inferencer is simply an ML model, but it could also be a rule-based system, a fuzzy logic system, or any other system that can infer a response from a given input.

load(path) abstractmethod

Loads the inferencer or its parameters from the given path.

predict(input_data) abstractmethod

Returns a prediction based on the given input.