brails.inferers.user_inferer.user_inferer module

class brails.inferers.user_inferer.user_inferer.UserInferer(input_inventory, user_path, overwrite=True)

Bases: InferenceEngine

Executes the inference model provided by the user

n_pw

The number of possible worlds (i.e. samples or realizations)

Type:

int

seed

For reproducibility

Type:

int

Methods:

infer()

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

merge_two_json(A, B, shrink=False)
to_json(this_inventory)