Skip to content

Commit

Permalink
[BUGFIX] model parameters must be passed with **
Browse files Browse the repository at this point in the history
  • Loading branch information
joaonrb committed Feb 5, 2014
1 parent db30321 commit 0c4f86b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion AUTHORS
@@ -1,5 +1,5 @@
test.fm was originally created 2014 at Telefonica Research as a
convenient wayt to test okapi.grafos.ml models.
convenient way to test okapi.grafos.ml models.
We used it for building Firefox OS app discovery engine project.

The PRIMARY AUTHORS are (and/or have been):
Expand Down
2 changes: 1 addition & 1 deletion src/testfm/examples/tuning_example.py
Expand Up @@ -22,7 +22,7 @@
print tf_params

tf = TensorCoFi()
tf.setParams(tf_params)
tf.setParams(**tf_params)
tf.fit(training)
print tf.getName().ljust(50),
print testfm.evaluate_model(tf, testing, all_items=training.item.unique())

0 comments on commit 0c4f86b

Please sign in to comment.