Closed josh-ashkinaze closed 2 years ago
model.fit takes a user-items matrix - https://benfred.github.io/implicit/api/models/recommender_base.html#implicit.recommender_base.RecommenderBase.fit
There were some breaking API changes in v0.5.0 that might be tripping you up =( https://github.com/benfred/implicit/releases/tag/v0.5.0
Ah got it. Yep didn't realize the change in v0.5. Thanks!
This may be just be my misunderstanding. So as I understand, these recommendation objects take in an
item_user
matrix. But when I do that, I get the wrong shape foritem_factors
anduser_factors
. And conversely, when I pass in auser_item
matrix, I get the right shape. So what am I doing wrong?