Skip to content

0.9.0

Latest
Compare
Choose a tag to compare
@blondered blondered released this 11 Dec 15:31
a1c1a2f

✨ Highlights ✨

  • Models initialisation from configs is introduced! As well as getting hyper-params and getting configs. We have one common function for all models: model_from_config. And we have methods for specific models: from_config, get_config, get_params.
  • Models saving and loading is introduced with load_model common function and model methods save and load.
    Please see details for configs and save+load usage in example. All models support new functions except DSSMModel.
  • fit_partial method is introduced for ImplicitALSWrapperModel and LightFMWrapperModel. These models can now resume training from the previous point.
  • LightFM Python 3.12+ support!

All updates

Added

  • from_config, get_config and get_params methods to all models except neural-net-based (#170)
  • fit_partial implementation for ImplicitALSWrapperModel and LightFMWrapperModel (#203, #210, #223)
  • save and load methods to all of the models (#206)
  • Model configs example (#207,#219)
  • use_gpu argument to ImplicitRanker.rank method (#201)
  • keep_extra_cols argument to Dataset.construct and Interactions.from_raw methods. include_extra_cols argument to Dataset.get_raw_interactions and Interactions.to_external methods (#208)
  • dtype adjustment to recommend, recommend_to_items methods of ModelBase (#211)
  • load_model function (#213)
  • model_from_config function (#214)
  • get_cat_features method to SparseFeatures (#221)
  • LightFM Python 3.12+ support (#224)

Fixed

  • Implicit ALS matrix zero assignment size (#228)

Removed

  • [Breaking] Python 3.8 support (#222)

New contributors

@spirinamayya made their first contribution in #211
@Waujito made their first contribution in #201