✨ 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 methodssave
andload
.
Please see details for configs and save+load usage in example. All models support new functions exceptDSSMModel
. fit_partial
method is introduced forImplicitALSWrapperModel
andLightFMWrapperModel
. These models can now resume training from the previous point.- LightFM Python 3.12+ support!
All updates
Added
from_config
,get_config
andget_params
methods to all models except neural-net-based (#170)fit_partial
implementation forImplicitALSWrapperModel
andLightFMWrapperModel
(#203, #210, #223)save
andload
methods to all of the models (#206)- Model configs example (#207,#219)
use_gpu
argument toImplicitRanker.rank
method (#201)keep_extra_cols
argument toDataset.construct
andInteractions.from_raw
methods.include_extra_cols
argument toDataset.get_raw_interactions
andInteractions.to_external
methods (#208)- dtype adjustment to
recommend
,recommend_to_items
methods ofModelBase
(#211) load_model
function (#213)model_from_config
function (#214)get_cat_features
method toSparseFeatures
(#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