implicit v0.5.0 Release Notes
-
๐ฅ Breaking API Changes
The API for implicit has substantially changed in v0.5.0 - and any code written for the previous API will need to be rewritten:
- ๐ Change model.fit to take a user_items sparse matrix #484
- Return numpy arrays from recommend methods #482
- Don't require empty rows in user_items and item_users parameters #526
- Unify API for rank_items/recommend/recommend_all #489
๐ Performance Improvements
- Speedup evaluation by using batch recommend functions #520
- ๐ Use FAISS for GPU inference #506
- Multithreaded speedups for CPU models #517
- ๐ Use thrust::binary_search to verify negative samples on GPU #524
- ๐ Release GIL on GPU calls #528
๐ New Features
- โ Add incremental retraining support for ALS models #527
- Add filtering for similar_items and similar_users #488
- โ Add support for recalculate_users/items on the GPU #515
- โ Add methods for converting MF models to/from gpu #521
- โ Add a tutorial notebook for the lastfm example #529
- Approximate nearest neighbour for BPR/LMF and GPU models #487
- Dynamically detect CUDA availability #174