benfred / implicit

Fast Python Collaborative Filtering for Implicit Feedback Datasets
https://benfred.github.io/implicit/
MIT License
3.57k stars 612 forks source link

Add unittest for NaNs occuring in ALS model #512

Closed benfred closed 2 years ago

benfred commented 2 years ago

Add a test for the ALS model to make sure we don't get NaN values when the number of factors is larger than the number of items or users (#377).