hpipy.extensions.NeuralNetworkIndex.from_model#
- classmethod NeuralNetworkIndex.from_model(model, trans_data=None, max_period=None, smooth=False, **kwargs)#
Create an index from a house price model.
- Parameters:
model (BaseHousePriceModel) – House price model object.
trans_data (TransactionData | None, optional) – Transaction data object. Defaults to None.
max_period (int | None, optional) – Maximum period for the index. Defaults to None.
smooth (bool, optional) – Smooth the index. Defaults to False.
**kwargs – Additional keyword arguments.
- Returns:
Index object.
- Return type:
Self