ServerRun 14738
Creatorinternal
ProgramMyMediaLite-matrix-factorization-k-60
DatasetRegressionData
Task typeCollaborativeFiltering
Created6y38d ago
DownloadLogin required!
Done! Flag_green
14s
418M
CollaborativeFiltering

Log file

Nothing to construct.
===== MAIN: learn based on training data =====
=== START program1: ./run learn ../dataset2/train
loading_time 0.03
ratings range: [0, 171723.214285714]
training data: 30 users, 35 items, 284 ratings, sparsity 72.95238
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:08.1020580 
memory 0
Save model to model.txt
=== END program1: ./run learn ../dataset2/train --- OK [9s]

===== 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.13
ratings range: [0, 171723.214285714]
training data: 30 users, 35 items, 284 ratings, sparsity 72.95238
test data:     30 users, 35 items, 284 ratings, sparsity 72.95238
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.0082370
predicting_time 00:00:00.0111840
memory 0
=== END program1: ./run predict ../program0/evalTrain.in ../program0/evalTrain.out --- OK [1s]
=== 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 [1s]

===== 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, 171723.214285714]
training data: 30 users, 35 items, 284 ratings, sparsity 72.95238
test data:     29 users, 32 items, 121 ratings, sparsity 86.96121
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.0044980
predicting_time 00:00:00.0071370
memory 0
=== END program1: ./run predict ../program0/evalTest.in ../program0/evalTest.out --- OK [1s]
=== 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 [1s]


real	0m18.140s
user	0m14.961s
sys	0m1.656s

Run specification Arrow_right
Results Arrow_right


Comments:


Must be logged in to post comments.