ServerRun 14734
Creatorinternal
ProgramMyMediaLite-matrix-factorization-k-60
DatasetCollaborativeFilteringData
Task typeCollaborativeFiltering
Created5y257d ago
DownloadLogin required!
Done! Flag_green
17s
417M
CollaborativeFiltering

Log file

Nothing to construct.
===== MAIN: learn based on training data =====
=== START program1: ./run learn ../dataset2/train
loading_time 0.06
ratings range: [0, 2907.19215935239]
training data: 6 users, 68 items, 190 ratings, sparsity 53.43137
MatrixFactorization num_factors=60 regularization=0.05 learn_rate=0.005 num_iter=125 init_mean=0 init_stdev=0.1 training_time 00:00:00.2919590 
memory 0
Save model to model.txt
=== END program1: ./run learn ../dataset2/train --- OK [2s]

===== MAIN: predict/evaluate on train data =====
=== START program3: ./run stripLabels ../dataset2/train ../program0/evalTrain.in
=== END program3: ./run stripLabels ../dataset2/train ../program0/evalTrain.in --- OK [1s]
=== START program1: ./run predict ../program0/evalTrain.in ../program0/evalTrain.out
loading_time 0.06
ratings range: [0, 2907.19215935239]
training data: 6 users, 68 items, 190 ratings, sparsity 53.43137
test data:     6 users, 68 items, 190 ratings, sparsity 53.43137
Load model from model.txt
Set num_factors to 60
MatrixFactorization num_factors=60 regularization=0.015 learn_rate=0.01 num_iter=30 init_mean=0 init_stdev=0.1 RMSE NaN MAE NaN NMAE NaN testing_time 00:00:00.0023750
predicting_time 00:00:00.0032680
memory 0
=== END program1: ./run predict ../program0/evalTrain.in ../program0/evalTrain.out --- OK [0s]
=== START program4: ./run evaluate ../dataset2/train ../program0/evalTrain.out
java.lang.RuntimeException: Your predictions contain an non-valid number: NaN
	at collaborativefiltering.Utils$$anonfun$1.apply$mcDD$sp(Utils.scala:176)
	at collaborativefiltering.Utils$$anonfun$1.apply(Utils.scala:174)
	at collaborativefiltering.Utils$$anonfun$1.apply(Utils.scala:174)
	at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:194)
	at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:194)
	at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:34)
	at scala.collection.mutable.ArrayOps.foreach(ArrayOps.scala:38)
	at scala.collection.TraversableLike$class.map(TraversableLike.scala:194)
	at scala.collection.mutable.ArrayOps.map(ArrayOps.scala:38)
	at collaborativefiltering.Utils$.evaluate(Utils.scala:174)
	at collaborativefiltering.Utils$.main(Utils.scala:199)
	at collaborativefiltering.Utils.main(Utils.scala)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:613)
	at scala.tools.nsc.util.ScalaClassLoader$$anonfun$run$1.apply(ScalaClassLoader.scala:78)
	at scala.tools.nsc.util.ScalaClassLoader$class.asContext(ScalaClassLoader.scala:24)
	at scala.tools.nsc.util.ScalaClassLoader$URLClassLoader.asContext(ScalaClassLoader.scala:88)
	at scala.tools.nsc.util.ScalaClassLoader$class.run(ScalaClassLoader.scala:78)
	at scala.tools.nsc.util.ScalaClassLoader$URLClassLoader.run(ScalaClassLoader.scala:101)
	at scala.tools.nsc.ObjectRunner$.run(ObjectRunner.scala:33)
	at scala.tools.nsc.ObjectRunner$.runAndCatch(ObjectRunner.scala:40)
	at scala.tools.nsc.MainGenericRunner.runTarget$1(MainGenericRunner.scala:56)
	at scala.tools.nsc.MainGenericRunner.process(MainGenericRunner.scala:80)
	at scala.tools.nsc.MainGenericRunner$.main(MainGenericRunner.scala:89)
	at scala.tools.nsc.MainGenericRunner.main(MainGenericRunner.scala)
=== END program4: ./run evaluate ../dataset2/train ../program0/evalTrain.out --- OK [2s]

===== MAIN: predict/evaluate on test data =====
=== START program3: ./run stripLabels ../dataset2/test ../program0/evalTest.in
=== END program3: ./run stripLabels ../dataset2/test ../program0/evalTest.in --- OK [1s]
=== START program1: ./run predict ../program0/evalTest.in ../program0/evalTest.out
loading_time 0.03
ratings range: [0, 2907.19215935239]
training data: 6 users, 68 items, 190 ratings, sparsity 53.43137
test data:     6 users, 47 items, 81 ratings, sparsity 71.2766
Load model from model.txt
Set num_factors to 60
MatrixFactorization num_factors=60 regularization=0.015 learn_rate=0.01 num_iter=30 init_mean=0 init_stdev=0.1 RMSE NaN MAE NaN NMAE NaN testing_time 00:00:00.0023430
predicting_time 00:00:00.0031140
memory 0
=== END program1: ./run predict ../program0/evalTest.in ../program0/evalTest.out --- OK [0s]
=== START program4: ./run evaluate ../dataset2/test ../program0/evalTest.out
java.lang.RuntimeException: Your predictions contain an non-valid number: NaN
	at collaborativefiltering.Utils$$anonfun$1.apply$mcDD$sp(Utils.scala:176)
	at collaborativefiltering.Utils$$anonfun$1.apply(Utils.scala:174)
	at collaborativefiltering.Utils$$anonfun$1.apply(Utils.scala:174)
	at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:194)
	at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:194)
	at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:34)
	at scala.collection.mutable.ArrayOps.foreach(ArrayOps.scala:38)
	at scala.collection.TraversableLike$class.map(TraversableLike.scala:194)
	at scala.collection.mutable.ArrayOps.map(ArrayOps.scala:38)
	at collaborativefiltering.Utils$.evaluate(Utils.scala:174)
	at collaborativefiltering.Utils$.main(Utils.scala:199)
	at collaborativefiltering.Utils.main(Utils.scala)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:613)
	at scala.tools.nsc.util.ScalaClassLoader$$anonfun$run$1.apply(ScalaClassLoader.scala:78)
	at scala.tools.nsc.util.ScalaClassLoader$class.asContext(ScalaClassLoader.scala:24)
	at scala.tools.nsc.util.ScalaClassLoader$URLClassLoader.asContext(ScalaClassLoader.scala:88)
	at scala.tools.nsc.util.ScalaClassLoader$class.run(ScalaClassLoader.scala:78)
	at scala.tools.nsc.util.ScalaClassLoader$URLClassLoader.run(ScalaClassLoader.scala:101)
	at scala.tools.nsc.ObjectRunner$.run(ObjectRunner.scala:33)
	at scala.tools.nsc.ObjectRunner$.runAndCatch(ObjectRunner.scala:40)
	at scala.tools.nsc.MainGenericRunner.runTarget$1(MainGenericRunner.scala:56)
	at scala.tools.nsc.MainGenericRunner.process(MainGenericRunner.scala:80)
	at scala.tools.nsc.MainGenericRunner$.main(MainGenericRunner.scala:89)
	at scala.tools.nsc.MainGenericRunner.main(MainGenericRunner.scala)
=== END program4: ./run evaluate ../dataset2/test ../program0/evalTest.out --- OK [2s]


real	0m12.009s
user	0m5.380s
sys	0m1.244s

Run specification Arrow_right
Results Arrow_right


Comments:


Must be logged in to post comments.