README.md in disco-0.2.3 vs README.md in disco-0.2.4

- old
+ new

@@ -44,17 +44,17 @@ ]) ``` > Use `value` instead of rating for implicit feedback -Get user-based (user-item) recommendations - “users like you also liked” +Get user-based recommendations - “users like you also liked” ```ruby recommender.user_recs(user_id) ``` -Get item-based (item-item) recommendations - “users who liked this item also liked” +Get item-based recommendations - “users who liked this item also liked” ```ruby recommender.item_recs(item_id) ``` @@ -281,20 +281,34 @@ This should be called after fitting or loading the model. ## Reference +Get ids + +```ruby +recommender.user_ids +recommender.item_ids +``` + Get the global mean ```ruby recommender.global_mean ``` -Get the factors +Get factors ```ruby recommender.user_factors recommender.item_factors +``` + +Get factors for specific users and items + +```ruby +recommender.user_factors(user_id) +recommender.item_factors(item_id) ``` ## Credits Thanks to: