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
class ExplicitMF(): | |
def __init__(self, | |
ratings, | |
n_factors=40, | |
learning='sgd', | |
item_fact_reg=0.0, | |
user_fact_reg=0.0, | |
item_bias_reg=0.0, | |
user_bias_reg=0.0, | |
verbose=False): |
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
from numpy.linalg import solve | |
class ExplicitMF(): | |
def __init__(self, | |
ratings, | |
n_factors=40, | |
item_reg=0.0, | |
user_reg=0.0, | |
verbose=False): | |
""" |
NewerOlder