RecTools icon indicating copy to clipboard operation
RecTools copied to clipboard

Models method to generate a dict of its hyper-params (including wrapped)

Open blondered opened this issue 1 year ago • 1 comments

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

blondered avatar Feb 26 '24 15:02 blondered

Cases for usage:

  • save/load methods for models
  • experiments tracking (mlflow, wandb, etc)
  • cross_validate results go straight to MetricsApp

blondered avatar Jul 10 '24 07:07 blondered

Implemented in 0.9.0 https://github.com/MobileTeleSystems/RecTools/releases/tag/v0.9.0 as get_config and get_params methods.

blondered avatar Jan 13 '25 09:01 blondered