Skip to content

0.4.0

Compare
Choose a tag to compare
@feldlime feldlime released this 27 Oct 19:44
· 57 commits to main since this release
3b2dc65

✨ Highlights ✨

We have much simplified RecTools installation with pip and poetry. If you faced problems before, we recommend to try version 0.4.0 and above

  • [Breaking] Bumped implicit from 0.4.4 to ^0.7.1
  • [Breaking] Moved nmslib and lightfm to extras. Renamed nn extra to torch
  • [Breaking] Improved TimeRangeSplitter interface: no need for pre-computing fold borders any more
  • New metrics:MRR, F1Beta, MCC
  • New splitters for cross-validation:RandomSplitter, LastNSplitter
  • Significantly optimized inference speed for latent factors models (iALS, LightFM, PureSVD)
  • Python 3.10 support 🎉

All updates

Added

  • MRR (Mean Reciprocal Rank) to metrics (#29)
  • F1beta, MCC (Matthew correlation coefficient) to metrics (#32)
  • Base Splitter class to construct data splitters (#31)
  • RandomSplitter to model_selection (#31)
  • LastNSplitter to model_selection (#33)
  • Support for Python 3.10 (#47)

Changed

  • Bumped implicit version to 0.7.1 (#45)
  • Bumped lightfm version to 1.17 (#43)
  • Bumped pylint version to 2.17.6 (#43)
  • Moved nmslib to extras (#36)
  • Moved lightfm to extras (#51)
  • Renamed nn extra to torch (#51)
  • Optimized inference for vector models with COSINE and DOT distances using implicit library topk method (#52)
  • Changed initialization of TimeRangeSplitter (instead of date_range argument, use test_size and n_splits) (#53)
  • Changed split infos key names in splitters (#53)

Fixed

  • Bugs with new version of pytorch_lightning (#43)
  • pylint config for new version (#43)
  • Cyclic imports (#45)

Removed

  • Markdown dependancy (#54)