0.9.0
✨ 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_modelcommon function and model methodssaveandload.
Please see details for configs and save+load usage in example. All models support new functions exceptDSSMModel. fit_partialmethod is introduced forImplicitALSWrapperModelandLightFMWrapperModel. These models can now resume training from the previous point.- LightFM Python 3.12+ support!
All updates
Added
from_config,get_configandget_paramsmethods to all models except neural-net-based (#170)fit_partialimplementation forImplicitALSWrapperModelandLightFMWrapperModel(#203, #210, #223)saveandloadmethods to all of the models (#206)- Model configs example (#207,#219)
use_gpuargument toImplicitRanker.rankmethod (#201)keep_extra_colsargument toDataset.constructandInteractions.from_rawmethods.include_extra_colsargument toDataset.get_raw_interactionsandInteractions.to_externalmethods (#208)- dtype adjustment to
recommend,recommend_to_itemsmethods ofModelBase(#211) load_modelfunction (#213)model_from_configfunction (#214)get_cat_featuresmethod 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