- Changed dataset directory to match XDG Base Directory Specification
- Dropped support for marshal serialization
- Dropped support for Ruby < 3.1 and Rails < 7
- Removed dependency on
csv
gem forload_movielens
- Reduced memory for
item_recs
andsimilar_users
- Fixed issue with
has_recommended
and inheritance with Rails < 6.1 - Deprecated marshal serialization
- Dropped support for Ruby < 2.7 and Rails < 6
- Fixed issue when
fit
is called multiple times
- Added support for JSON serialization
- Changed
item_id
touser_id
forsimilar_users
- Changed warning to an error when
value
passed tofit
- Changed to use Faiss over NGT for
optimize_item_recs
andoptimize_similar_users
when both are installed - Removed dependency on
wilson_score
gem fortop_items
- Dropped support for Ruby < 2.6
- Fixed error with
load_movielens
- Fixed error with
top_items
with all same rating
- Added warning for
value
- Improved performance
- Improved
inspect
method - Fixed issue with
similar_users
anditem_recs
returning the original user/item - Fixed error with
fit
after loading
- Added
top_items
method - Added
optimize_similar_users
method - Added support for Faiss for
optimize_item_recs
andoptimize_similar_users
methods - Added
rmse
method - Improved performance
- Added
user_ids
anditem_ids
methods - Added
user_id
argument touser_factors
- Added
item_id
argument toitem_factors
- Added
predict
method - Fixed bad recommendations and scores with
user_recs
and explicit feedback - Fixed
item_ids
option foruser_recs
- Not available (released by previous gem owner)
- Fixed issue with
user_recs
returning rated items
- Changed score to always be between -1 and 1 for
item_recs
andsimilar_users
(cosine similarity - this makes it easier to understand and consistent withoptimize_item_recs
andoptimize_similar_users
)
- Added support for Rover
- Raise error when missing user or item ids
- Fixed string keys for Daru data frames
optimize_item_recs
andoptimize_similar_users
methods are no longer experimental
- Added experimental
optimize_item_recs
andoptimize_similar_users
methods
- Fixed Rails integration
- First release