Skip to content

Commit

Permalink
update pyFM demo
Browse files Browse the repository at this point in the history
  • Loading branch information
csuldw committed Feb 17, 2019
1 parent 95802ac commit 66bffed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Recommendation System/pyfm_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ def load_data():
X_train = v.fit_transform(X_train)
X_test = v.transform(X_test)

fm = pylibfm.FM(num_factors=1,
num_iter=500,
fm = pylibfm.FM(num_factors=2,
num_iter=200,
verbose=True,
task="classification",
initial_learning_rate=0.001,
Expand Down

0 comments on commit 66bffed

Please sign in to comment.