Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# A Simple Julia Version of the algorithm described in the paper Collaborative Filtering for Implicit Feedback Datasets | |
# http://yifanhu.net/PUB/cf.pdf | |
# This was mainly an experiment for me in learning Julia, unfortunately the code below ended up | |
# being about the same speed as my pure python version here https://github.com/benfred/implicit | |
# and much much slower than the Cython version I included there. | |
# (fwiw The slowness is probably because I don't understand the language as well as I do Python) | |
function alternatingLeastSquares(input, factors, regularization) |