Skip to content

Latest commit

 

History

History
199 lines (108 loc) · 8.59 KB

File metadata and controls

199 lines (108 loc) · 8.59 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

[0.2.7] - 2025.07.29

Enhancements

  • Optimize HybridSlimFM batch recommendation performance by replacing individual recommend() calls with recommend_batch() in _recommend_hot_batch() method
  • Add comprehensive unit tests for HybridSlimFM model in test_hybrid.py covering batch functionality, feature handling, and edge cases

Full Changelog: v0.2.6...v0.2.7

[0.2.6] - 2025.07.29

Enhancements

  • Add efficient recommend_batch method to SLIMElastic for batch recommendation processing
  • Improve batch recommendation performance through optimized matrix operations and reduced computational overhead

Full Changelog: v0.2.5...v0.2.6

[0.2.5] - 2025.06.26

Enhancements

  • Add methods to retrieve users by items in BaseModel and UserItemInteractions (3484e8e)

Documentation

  • Explained about time decay (aa5f1b0)

Full Changelog: v0.2.4...v0.2.5

[0.2.4] - 2025.06.14

Improvements

  • Update NumPy dependency to require version 1.24.0 for enhanced dtype support and compatibility

Full Changelog: v0.2.3...v0.2.4

[0.2.3] - 2025.06.14

Bug Fixes

  • Fix @override decorator import compatibility for Python 3.10-3.11 by using conditional imports with typing_extensions fallback

Full Changelog: v0.2.2...v0.2.3

[0.2.2] - 2025.06.14

This release improves Python version compatibility by adding proper support for the Self type hint across Python 3.10+.

Improvements

  • Add support for 'Self' type in type hints for compatibility with Python 3.10+ (c22b4b0)

Full Changelog: v0.2.1...v0.2.2

[0.2.1] - 2025.06.13

This release focuses on improving the library's modularity by making web serving components optional, enhancing type safety, and adding essential model persistence capabilities.

Improvements

  • Refactor dependencies: move FastAPI, Pydantic, Uvicorn, HTTPX to optional dependencies and add Boto3 to dev-dependencies (586bb56)

Enhancements

  • Implement model serialization and deserialization methods for BaseModel and its subclasses (#5)
  • Type safety improvements (#6)

Bug Fixes

  • Fix type errors (#3, #4)

Full Changelog: v0.2.0...v0.2.1

[0.2.0] - 05.04.2025

This release introduces architectural improvements to the recommendation system core, with a focus on separating recommendation logic for hot and cold users.

Major Changes

  • Separated recommendation logic for hot and cold users (04bcae3)
  • Added a notebook demonstrating Hybrid model for H&M fashion recommendations (64a5da2)

Minor Changes

  • Added sort_by_tstamp option for time-based recommendation ordering (18e1e34)

Bug Fixes

  • Fixed corner case for handling not yet learned features (2801a65)

Breaking Changes

  • Redesigned recommendation batch processing with separate paths for cold and hot users, which may require updates to custom model implementations

Full Changelog: v0.1.9...v0.2.0

[0.1.9] - 04.26.2025

This release adds support for additional datasets, introduces a new hybrid model, and includes several improvements and bug fixes.

Major changes

  • Added new HybridSlimFM model combining FM (content-based) with SLIM (collaborative filtering) (Commit 1189a57)
  • Added support for H&M Kaggle dataset (Commit 6f1daa7)
  • Added support for RetailRocket dataset (Commit 6f1daa7)

Improvements

  • Added handle_unknown_user hook for handling cold start users in LightFM (Commit 6f1daa7)
  • Added force_identify option to control identity handling (Commit 6f1daa7)
  • Added user_column and tstamp_column arguments for flexible schema handling (Commit ebb2579)
  • Supported ret_scores argument in recommend() method (Commit 24a44e6)
  • Improved memory usage in interaction_counts (Commit fb02997)

Bug fixes

Other changes

Full Changelog: v0.1.8...v0.1.9

[0.1.8] - 03.24.2025

Minor enhancement release.

Minor changes

  • Revised to return recent hot items for U2I recommendation where user does not have any interaction (Commit 1f383b7)

  • Reduced dependency @override in typing-extension >= 4.5.0 (Commit 48125c2)

  • Suppported SGD-based optimization for SLIM (Commit ecf5d29)

Bug fixes

  • Fixed a corner case bug for handling candidate_item_ids (Commit f6231ed)

Full Changelog: v0.1.7...v0.1.8

[0.1.7] - 01.17.2025

All users of v0.1.6 is recommended to update to v0.1.7. LightFM support is now bacame stable.

Full Changelog: v0.1.6...v0.1.7

Major changes

  • Supported Context Features (user/item tags) for LightFM model.

Check this example notebook how to use user/item tags.

[0.1.6] - 01.06.2025

All users of 0.1.5 is recommended to update to v0.1.6.

Full Changelog: v0.1.5...v0.1.6

Bug fixes

  • Fixed a bug in LightFM models.

  • Fixed a bug in similar_items() method (Commit d8e2a98)

Minor Changes

  • Supported returning scores with ret_scores argument for similar_items() (Commit b824a52)

[0.1.5] - 12.27.2004

Bug fixes

[0.1.4] - 12.27.2024

Major changes

Minor Changes