Librecommender

Latest version: v1.5.1

Safety actively analyzes 715081 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 5

0.12.4

๐Ÿ› Bug Fixes
+ Fix dense feature bugs in `DIN` & `GraphSage` & `PinSage` (184)

๐Ÿงป Miscellaneous
+ Replace `pytest-cov` with [`coveragepy`](https://github.com/nedbat/coveragepy) in CI (#185)
+ Add Sanic serving test (187)
+ Lint with [`ruff`](https://github.com/charliermarsh/ruff) and [`isort`](https://github.com/PyCQA/isort) (#188)
+ Limit num of requests with semaphore in tf model serving (190)

0.12.2

๐Ÿ’ฅ Breaking Changes
+ The recommendation result will return a dict, with users as keys and `numpy.array` of items as values.

๐Ÿš€ Features
+ Add recommend strategy (170). See [User Guide](https://github.com/massquantity/LibRecommender/blob/master/doc/user_guide.md#recommend-strategy).
+ Add batch recommend (171).

๐Ÿ› Bug Fixes
+ Fix `UserCF` & `ItemCF` inner_id bugs (172)

๐Ÿ“š Documentation
+ Add [Implementation Details](https://github.com/massquantity/LibRecommender/blob/master/doc/implementation_details.md) (#174)
+ Update User Guide (174)

0.12.0

๐Ÿš€ Features
+ Support train & save & retrain PyTorch models (141)
+ Add GraphSage, GraphSageDGL (161)
+ Add PinSage (146), PinSageDGL (150)
+ Add serving models with [Rust](https://www.rust-lang.org/) (#157)
+ Add serving using Docker Compose (156)

๐Ÿ› Bug Fixes
+ Fix retraining `item2vec` and `deepwalk` models (163)

๐Ÿ“š Documentation
+ Add [Rust Serving Guide](https://github.com/massquantity/LibRecommender/blob/master/doc/rust_serving_guide.md) (#157)
+ Refactor docs (155)

0.10.2

Bug Fixes
+ Fix mistakenly preserving feature state after running (132)

API Changes
+ remove `reset_state` parameter in `DatasetFeat.build_trainset` and `DatasetPure.build_trainset` (132)

0.10.0

+ Add [focal loss](https://github.com/massquantity/LibRecommender/tree/master/examples#loss).
+ Add [embedding APIs](https://github.com/massquantity/LibRecommender/tree/master/examples#embedding).
+ Refactor the serving part. The original `serving` module is renamed to [`libserving`](https://github.com/massquantity/LibRecommender/tree/master/libserving).

0.8.4

Add graph algorithms: DeepWalk, NGCF, LightGCN

Page 3 of 5

ยฉ 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.