brails.inferers.user_inferer.user_inferer module
- class brails.inferers.user_inferer.user_inferer.UserInferer(input_inventory: AssetInventory, user_path, overwrite=True)
Bases:
InferenceEngine
Executes the inference model provided by the user
- Attributes:
- n_pw (int):
The number of possible worlds (i.e. samples or realizations)
- seed (int):
For reproducibility
Methods:
- infer() AssetInventory
Infer new features for the Assets in an Asset Inventory
- Args:
input_inventory (AssetInventory): the inventory
- Returns:
AssetInventory: a new asset inventory with additional features
- merge_two_json(A, B, shrink=False)
- to_json(this_inventory)