RecTools
RecTools copied to clipboard
Models method to generate a dict of its hyper-params (including wrapped)
Feature Description
Method get_params for all RecTools models. It outputs a dict of all hyper-params available for tuning together with the values of the current instance. Wrapped models params are also added.
Why this feature?
This can be used in validation pipelines for easy-to-use integration with experiments trackers and metrics visualisation that is based on hyper-params.
Additional context
No response
Cases for usage:
- save/load methods for models
- experiments tracking (mlflow, wandb, etc)
- cross_validate results go straight to MetricsApp
Implemented in 0.9.0 https://github.com/MobileTeleSystems/RecTools/releases/tag/v0.9.0 as get_config and get_params methods.