brails.inferers.inference_engine module

Module defining the abstract base class for adding derived features to assets.

InferenceEngine()

Abstract base class for adding derived features to assets in an inventory.

class brails.inferers.inference_engine.InferenceEngine

Bases: ABC

Abstract base class for adding derived features to assets in an inventory.

Subclasses must implement the infer method to augment assets with additional features.

abstract infer(input_inventory)

Infer and add new features for each asset in the inventory.

Parameters:

input_inventory (AssetInventory) – The inventory of assets to process.

Returns:

A new or updated inventory with additional inferred features.

Return type:

AssetInventory