Performing a fresh install of PredictionIO and universal-recommender were fresh-installed, without previously importing any event or training. Running ./examples/rank/integration-test-rank
shows the test result is not expected:
root@761bc1b7600d:~/ur# pio-start-all
Starting Elasticsearch...
* Starting PostgreSQL 9.5 database server [ OK ]
Waiting 10 seconds for Storage Repositories to fully initialize...
Starting PredictionIO Event Server...
root@761bc1b7600d:~/ur#
root@761bc1b7600d:~/ur# ./examples/rank/integration-test-rank
==================================================================
Integration test [Rank] for The Universal Recommender.
If some step fails check that your engine.json file has been restored or look for it in 'user-engine.json'
==================================================================
==================================================================
Checking for needed files
==================================================================
==================================================================
Checking status, should exit if pio is not running.
==================================================================
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/PredictionIO-0.11.0-incubating/lib/spark/pio-data-hdfs-assembly-0.11.0-incubating.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/PredictionIO-0.11.0-incubating/lib/pio-assembly-0.11.0-incubating.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
[INFO] [Management$] Inspecting PredictionIO...
[INFO] [Management$] PredictionIO 0.11.0-incubating is installed at /PredictionIO-0.11.0-incubating
[INFO] [Management$] Inspecting Apache Spark...
[INFO] [Management$] Apache Spark is installed at /PredictionIO-0.11.0-incubating/vendors/spark-1.6.3-bin-hadoop2.6
[INFO] [Management$] Apache Spark 1.6.3 detected (meets minimum requirement of 1.3.0)
[INFO] [Management$] Inspecting storage backend connections...
[INFO] [Storage$] Verifying Meta Data Backend (Source: ELASTICSEARCH)...
[INFO] [Storage$] Verifying Model Data Backend (Source: PGSQL)...
[INFO] [Storage$] Verifying Event Data Backend (Source: PGSQL)...
[INFO] [Storage$] Test writing to Event Store (App Id 0)...
[INFO] [Management$] Your system is all ready to go.
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/PredictionIO-0.11.0-incubating/lib/spark/pio-data-hdfs-assembly-0.11.0-incubating.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/PredictionIO-0.11.0-incubating/lib/pio-assembly-0.11.0-incubating.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
[INFO] [App$] Initialized Event Store for this app ID: 1.
[INFO] [Pio$] Created a new app:
[INFO] [Pio$] Name: default-rank
[INFO] [Pio$] ID: 1
[INFO] [Pio$] Access Key: 123456789
==================================================================
Checking to see if default-rank app exists, should exit if not.
==================================================================
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/PredictionIO-0.11.0-incubating/lib/spark/pio-data-hdfs-assembly-0.11.0-incubating.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/PredictionIO-0.11.0-incubating/lib/pio-assembly-0.11.0-incubating.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
[INFO] [Pio$] App Name: default-rank
[INFO] [Pio$] App ID: 1
[INFO] [Pio$] Description:
[INFO] [Pio$] Access Key: 123456789 | (all)
==================================================================
Moving engine.json to user-engine.json
==================================================================
cp: cannot stat 'engine.json': No such file or directory
==================================================================
THE FIRST SERIES OF TESTS
==================================================================
==================================================================
Moving examples/rank/rank-engine.json to engine.json for integration test.
==================================================================
==================================================================
Deleting default-rank app data since the test is date dependent
==================================================================
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/PredictionIO-0.11.0-incubating/lib/spark/pio-data-hdfs-assembly-0.11.0-incubating.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/PredictionIO-0.11.0-incubating/lib/pio-assembly-0.11.0-incubating.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
[INFO] [Pio$] Data of the following app (default channel only) will be deleted. Are you sure?
[INFO] [Pio$] App Name: default-rank
[INFO] [Pio$] App ID: 1
[INFO] [Pio$] Description: None
[INFO] [App$] Removed Event Store for the app ID: 1
[INFO] [App$] Initialized Event Store for the app ID: 1
==================================================================
Importing data for integration test
==================================================================
Namespace(access_key='123456789', file='./data/sample-rank-data.txt', url='http://localhost:7070')
Importing data...
Event: show entity_id: product-1 target_entity_id: product-1 current_date: 2017-09-15T03:31:49.255628+00:00
Event: show entity_id: product-2 target_entity_id: product-2 current_date: 2017-09-14T08:19:49.255628+00:00
Event: show entity_id: product-3 target_entity_id: product-3 current_date: 2017-09-13T13:07:49.255628+00:00
Event: show entity_id: product-4 target_entity_id: product-4 current_date: 2017-09-12T17:55:49.255628+00:00
Event: like entity_id: product-4 target_entity_id: product-4 current_date: 2017-09-11T22:43:49.255628+00:00
Event: like entity_id: product-3 target_entity_id: product-3 current_date: 2017-09-11T03:31:49.255628+00:00
Event: like entity_id: product-2 target_entity_id: product-2 current_date: 2017-09-10T08:19:49.255628+00:00
Event: like entity_id: product-1 target_entity_id: product-1 current_date: 2017-09-09T13:07:49.255628+00:00
Event: $set entity_id: product-1 properties/color: ['red', 'black'] current_date: 2017-09-08T17:55:49.255628+00:00
Event: $set entity_id: product-2 properties/color: ['green', 'black'] current_date: 2017-09-07T22:43:49.255628+00:00
Event: $set entity_id: product-3 properties/color: ['red', 'black'] current_date: 2017-09-07T03:31:49.255628+00:00
Event: $set entity_id: product-4 properties/color: ['green', 'black'] current_date: 2017-09-06T08:19:49.255628+00:00
Event: show entity_id: product-4 target_entity_id: product-4 current_date: 2017-09-05T13:07:49.255628+00:00
Event: show entity_id: product-3 target_entity_id: product-3 current_date: 2017-09-04T17:55:49.255628+00:00
Event: like entity_id: product-3 target_entity_id: product-3 current_date: 2017-09-03T22:43:49.255628+00:00
Event: like entity_id: product-4 target_entity_id: product-4 current_date: 2017-09-03T03:31:49.255628+00:00
Event: $set entity_id: product-1 properties/defaultRank: 1.0 current_date: 2017-09-02T08:19:49.255628+00:00
Event: $set entity_id: product-2 properties/defaultRank: 2.7 current_date: 2017-09-01T13:07:49.255628+00:00
Event: $set entity_id: product-3 properties/defaultRank: 3.2 current_date: 2017-08-31T17:55:49.255628+00:00
Event: $set entity_id: product-4 properties/defaultRank: 4.7 current_date: 2017-08-30T22:43:49.255628+00:00
Event: $set entity_id: product-5 properties/defaultRank: 5.0 current_date: 2017-08-30T03:31:49.255628+00:00
Event: $set entity_id: product-6 properties/defaultRank: 6.9 current_date: 2017-08-29T08:19:49.255628+00:00
Event: $set entity_id: product-7 properties/defaultRank: 7.15 current_date: 2017-08-28T13:07:49.255628+00:00
Event: $set entity_id: product-8 properties/defaultRank: 8.07 current_date: 2017-08-27T17:55:49.255628+00:00
Event: like entity_id: product-3 target_entity_id: product-3 current_date: 2017-08-26T22:43:49.255628+00:00
Event: like entity_id: product-6 target_entity_id: product-6 current_date: 2017-08-26T03:31:49.255628+00:00
Event: show entity_id: product-3 target_entity_id: product-3 current_date: 2017-08-25T08:19:49.255628+00:00
Event: show entity_id: product-4 target_entity_id: product-4 current_date: 2017-08-24T13:07:49.255628+00:00
Event: show entity_id: product-5 target_entity_id: product-5 current_date: 2017-08-23T17:55:49.255628+00:00
Event: $set entity_id: product-1 properties/size: ['S', 'M'] current_date: 2017-08-22T22:43:49.255628+00:00
Event: $set entity_id: product-2 properties/size: ['SX', 'XL'] current_date: 2017-08-22T03:31:49.255628+00:00
Event: $set entity_id: product-3 properties/size: ['XL', 'X'] current_date: 2017-08-21T08:19:49.255628+00:00
Event: $set entity_id: product-4 properties/size: ['X', 'XL', 'S'] current_date: 2017-08-20T13:07:49.255628+00:00
Event: $set entity_id: product-5 properties/size: ['M', 'S', 'XS'] current_date: 2017-08-19T17:55:49.255628+00:00
Event: $set entity_id: product-9 properties/size: ['M', 'S', 'XS'] current_date: 2017-08-18T22:43:49.255628+00:00
All items: set(['product-9', 'product-8', 'product-7', 'product-6', 'product-5', 'product-4', 'product-3', 'product-2', 'product-1'])
Event: $set entity_id: product-9 properties/availableDate: 2017-09-10T17:55:49.255628+00:00 properties/date: 2017-09-12T17:55:49.255628+00:00 properties/expireDate: 2017-09-14T17:55:49.255628+00:00
Event: $set entity_id: product-8 properties/availableDate: 2017-09-11T13:07:49.255628+00:00 properties/date: 2017-09-13T13:07:49.255628+00:00 properties/expireDate: 2017-09-15T13:07:49.255628+00:00
Event: $set entity_id: product-7 properties/availableDate: 2017-09-12T08:19:49.255628+00:00 properties/date: 2017-09-14T08:19:49.255628+00:00 properties/expireDate: 2017-09-16T08:19:49.255628+00:00
Event: $set entity_id: product-6 properties/availableDate: 2017-09-13T03:31:49.255628+00:00 properties/date: 2017-09-15T03:31:49.255628+00:00 properties/expireDate: 2017-09-17T03:31:49.255628+00:00
Event: $set entity_id: product-5 properties/availableDate: 2017-09-13T22:43:49.255628+00:00 properties/date: 2017-09-15T22:43:49.255628+00:00 properties/expireDate: 2017-09-17T22:43:49.255628+00:00
Event: $set entity_id: product-4 properties/availableDate: 2017-09-14T17:55:49.255628+00:00 properties/date: 2017-09-16T17:55:49.255628+00:00 properties/expireDate: 2017-09-18T17:55:49.255628+00:00
Event: $set entity_id: product-3 properties/availableDate: 2017-09-15T13:07:49.255628+00:00 properties/date: 2017-09-17T13:07:49.255628+00:00 properties/expireDate: 2017-09-19T13:07:49.255628+00:00
Event: $set entity_id: product-2 properties/availableDate: 2017-09-16T08:19:49.255628+00:00 properties/date: 2017-09-18T08:19:49.255628+00:00 properties/expireDate: 2017-09-20T08:19:49.255628+00:00
Event: $set entity_id: product-1 properties/availableDate: 2017-09-17T03:31:49.255628+00:00 properties/date: 2017-09-19T03:31:49.255628+00:00 properties/expireDate: 2017-09-21T03:31:49.255628+00:00
44 events are imported.
==================================================================
Building and delpoying model
==================================================================
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/PredictionIO-0.11.0-incubating/lib/spark/pio-data-hdfs-assembly-0.11.0-incubating.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/PredictionIO-0.11.0-incubating/lib/pio-assembly-0.11.0-incubating.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
[INFO] [Engine$] Using command '/PredictionIO-0.11.0-incubating/sbt/sbt' at /root/ur to build.
[INFO] [Engine$] If the path above is incorrect, this process will fail.
[INFO] [Engine$] Uber JAR disabled. Making sure lib/pio-assembly-0.11.0-incubating.jar is absent.
[INFO] [Engine$] Going to run: /PredictionIO-0.11.0-incubating/sbt/sbt package assemblyPackageDependency in /root/ur
[INFO] [Engine$] Compilation finished successfully.
[INFO] [Engine$] Looking for an engine...
[INFO] [Engine$] Found universal-recommender-assembly-0.6.0-deps.jar
[INFO] [Engine$] Found universal-recommender_2.10-0.6.0.jar
[INFO] [Engine$] Build finished successfully.
[INFO] [Pio$] Your engine is ready for training.
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/PredictionIO-0.11.0-incubating/lib/spark/pio-data-hdfs-assembly-0.11.0-incubating.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/PredictionIO-0.11.0-incubating/lib/pio-assembly-0.11.0-incubating.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
[WARN] [WorkflowUtils$] Environment variable MYSQL_JDBC_DRIVER is pointing to a nonexistent file /PredictionIO-0.11.0-incubating/lib/mysql-connector-java-5.1.41.jar. Ignoring.
[INFO] [Runner$] Submission command: /PredictionIO-0.11.0-incubating/vendors/spark-1.6.3-bin-hadoop2.6/bin/spark-submit --executor-memory 4g --driver-memory 4g --class org.apache.predictionio.workflow.CreateWorkflow --jars file:/PredictionIO-0.11.0-incubating/lib/postgresql-42.0.0.jar,file:/root/ur/target/scala-2.10/universal-recommender-assembly-0.6.0-deps.jar,file:/root/ur/target/scala-2.10/universal-recommender_2.10-0.6.0.jar,file:/PredictionIO-0.11.0-incubating/lib/spark/pio-data-hbase-assembly-0.11.0-incubating.jar,file:/PredictionIO-0.11.0-incubating/lib/spark/pio-data-jdbc-assembly-0.11.0-incubating.jar,file:/PredictionIO-0.11.0-incubating/lib/spark/pio-data-localfs-assembly-0.11.0-incubating.jar,file:/PredictionIO-0.11.0-incubating/lib/spark/pio-data-hdfs-assembly-0.11.0-incubating.jar,file:/PredictionIO-0.11.0-incubating/lib/spark/pio-data-elasticsearch1-assembly-0.11.0-incubating.jar --files file:/PredictionIO-0.11.0-incubating/conf/log4j.properties --driver-class-path /PredictionIO-0.11.0-incubating/conf:/PredictionIO-0.11.0-incubating/lib/postgresql-42.0.0.jar:/PredictionIO-0.11.0-incubating/lib/mysql-connector-java-5.1.41.jar --driver-java-options -Dpio.log.dir=/root file:/PredictionIO-0.11.0-incubating/lib/pio-assembly-0.11.0-incubating.jar --engine-id com.actionml.RecommendationEngine --engine-version 08f9b7206d6c4c46c26e6aa45fd73ed15e7de602 --engine-variant file:/root/ur/engine.json --verbosity 0 --json-extractor Both --env PIO_ENV_LOADED=1,PIO_STORAGE_REPOSITORIES_METADATA_NAME=pio_meta,PIO_VERSION=0.11.0,PIO_FS_BASEDIR=/root/.pio_store,PIO_STORAGE_SOURCES_ELASTICSEARCH_HOSTS=localhost,PIO_HOME=/PredictionIO-0.11.0-incubating,PIO_FS_ENGINESDIR=/root/.pio_store/engines,PIO_STORAGE_SOURCES_PGSQL_URL=jdbc:postgresql://localhost/pio,PIO_STORAGE_SOURCES_ELASTICSEARCH_TYPE=elasticsearch,PIO_STORAGE_REPOSITORIES_METADATA_SOURCE=ELASTICSEARCH,PIO_STORAGE_REPOSITORIES_MODELDATA_SOURCE=PGSQL,PIO_STORAGE_REPOSITORIES_EVENTDATA_NAME=pio_event,PIO_STORAGE_SOURCES_PGSQL_PASSWORD=pio,PIO_STORAGE_SOURCES_ELASTICSEARCH_CLUSTERNAME=predictionio,PIO_STORAGE_SOURCES_ELASTICSEARCH_HOME=/PredictionIO-0.11.0-incubating/vendors/elasticsearch-1.7.5,PIO_STORAGE_SOURCES_PGSQL_TYPE=jdbc,PIO_FS_TMPDIR=/root/.pio_store/tmp,PIO_STORAGE_SOURCES_PGSQL_USERNAME=pio,PIO_STORAGE_REPOSITORIES_MODELDATA_NAME=pio_model,PIO_BUILD=/pio_build,PIO_STORAGE_REPOSITORIES_EVENTDATA_SOURCE=PGSQL,PIO_CONF_DIR=/PredictionIO-0.11.0-incubating/conf,PIO_STORAGE_SOURCES_ELASTICSEARCH_PORTS=9300
[INFO] [RecommendationEngine$]
_ _ __ __ _
/\ | | (_) | \/ | |
/ \ ___| |_ _ ___ _ __ | \ / | |
/ /\ \ / __| __| |/ _ \| '_ \| |\/| | |
/ ____ \ (__| |_| | (_) | | | | | | | |____
/_/ \_\___|\__|_|\___/|_| |_|_| |_|______|
[INFO] [Engine] Extracting datasource params...
[INFO] [WorkflowUtils$] No 'name' is found. Default empty String will be used.
[INFO] [Engine] Datasource params: (,DataSourceParams(default-rank,List(show, like),None,None))
[INFO] [Engine] Extracting preparator params...
[INFO] [Engine] Preparator params: (,Empty)
[INFO] [Engine] Extracting serving params...
[INFO] [Engine] Serving params: (,Empty)
[INFO] [Remoting] Starting remoting
[INFO] [Remoting] Remoting started; listening on addresses :[akka.tcp://[email protected]:38061]
[INFO] [DataSource]
??????????????????????????????????????????????????????????????
? Init DataSource ?
? ?????????????????????????????????????????????????????????? ?
? App name default-rank ?
? Event window None ?
? Event names List(show, like) ?
? Min events per user None ?
??????????????????????????????????????????????????????????????
[INFO] [URAlgorithm]
??????????????????????????????????????????????????????????????
? Init URAlgorithm ?
? ?????????????????????????????????????????????????????????? ?
? App name default-rank ?
? ES index name urindex ?
? ES type name items ?
? RecsModel all ?
? Event names List(show, like) ?
? ?????????????????????????????????????????????????????????? ?
? Random seed -2086961264 ?
? MaxCorrelatorsPerEventType 50 ?
? MaxEventsPerEventType 500 ?
? BlacklistEvents List(show) ?
? ?????????????????????????????????????????????????????????? ?
? User bias 1.0 ?
? Item bias 1.0 ?
? Max query events 100 ?
? Limit 20 ?
? ?????????????????????????????????????????????????????????? ?
? Rankings: ?
? popular Some(popularRank) ?
? userDefined Some(defaultRank) ?
? random Some(uniqueRank) ?
??????????????????????????????????????????????????????????????
[INFO] [Engine$] EngineWorkflow.train
[INFO] [Engine$] DataSource: com.actionml.DataSource@cf01c2e
[INFO] [Engine$] Preparator: com.actionml.Preparator@341c6ac2
[INFO] [Engine$] AlgorithmList: List(com.actionml.URAlgorithm@2becfd4c)
[INFO] [Engine$] Data sanity check is on.
[INFO] [DataSource] Received events List(show, like)
[INFO] [Engine$] com.actionml.TrainingData does not support data sanity check. Skipping check.
[INFO] [Preparator] EventName: show
[INFO] [Preparator] Dimensions rows : 4 columns: 5
[INFO] [Preparator] Number of user-ids after creation: 4
[INFO] [Preparator] EventName: like
[INFO] [Preparator] Dimensions rows : 4 columns: 5
[INFO] [Preparator] Number of user-ids after creation: 4
[INFO] [Engine$] com.actionml.PreparedData does not support data sanity check. Skipping check.
[INFO] [URAlgorithm] Actions read now creating correlators
[INFO] [PopModel] PopModel popular using end: 2017-09-15T03:36:17.916Z, and duration: 315360000, interval: 2007-09-18T03:36:17.916Z/2017-09-15T03:36:17.916Z
[INFO] [PopModel] PopModel getting eventsRDD for startTime: 2007-09-18T03:36:17.916Z and endTime 2017-09-15T03:36:17.916Z
[INFO] [PopModel] PopModel userDefined using end: 2017-09-15T03:36:17.990Z, and duration: 315360000, interval: 2007-09-18T03:36:17.990Z/2017-09-15T03:36:17.990Z
[INFO] [PopModel] PopModel random using end: 2017-09-15T03:36:17.991Z, and duration: 315360000, interval: 2007-09-18T03:36:17.991Z/2017-09-15T03:36:17.991Z
[INFO] [PopModel] PopModel getting eventsRDD for startTime: 2007-09-18T03:36:17.991Z and endTime 2017-09-15T03:36:17.991Z
[INFO] [URAlgorithm] Correlators created now putting into URModel
[INFO] [URAlgorithm] Index mappings for the Elasticsearch URModel: Map(defaultRank -> (float,false), show -> (string,true), popularRank -> (float,false), uniqueRank -> (float,false), like -> (string,true))
[INFO] [URModel] Converting cooccurrence matrices into correlators
[INFO] [URModel] Group all properties RDD
[Stage 74:=============> (3 + 1) / 4][Stage 82:====> (1 + 0) / 4][INFO] [RootSolverFactory$] Creating org.apache.mahout.viennacl.opencl.GPUMMul solver
[INFO] [RootSolverFactory$] Creating org.apache.mahout.viennacl.opencl.GPUMMul solver
[INFO] [RootSolverFactory$] Creating org.apache.mahout.viennacl.opencl.GPUMMul solver
[INFO] [RootSolverFactory$] Creating org.apache.mahout.viennacl.opencl.GPUMMul solver
[INFO] [RootSolverFactory$] Unable to create class GPUMMul: attempting OpenMP version
[INFO] [RootSolverFactory$] Creating org.apache.mahout.viennacl.openmp.OMPMMul solver
[INFO] [RootSolverFactory$] org.apache.mahout.viennacl.openmp.OMPMMul$
[INFO] [RootSolverFactory$] Unable to create class OMPMMul: falling back to java version
[INFO] [RootSolverFactory$] Unable to create class GPUMMul: attempting OpenMP version
[INFO] [RootSolverFactory$] Creating org.apache.mahout.viennacl.openmp.OMPMMul solver
[INFO] [RootSolverFactory$] Unable to create class GPUMMul: attempting OpenMP version
[INFO] [RootSolverFactory$] Creating org.apache.mahout.viennacl.openmp.OMPMMul solver
[INFO] [RootSolverFactory$] Unable to create class GPUMMul: attempting OpenMP version
[INFO] [RootSolverFactory$] Creating org.apache.mahout.viennacl.openmp.OMPMMul solver
[INFO] [RootSolverFactory$] org.apache.mahout.viennacl.openmp.OMPMMul$
[INFO] [RootSolverFactory$] Unable to create class OMPMMul: falling back to java version
[INFO] [RootSolverFactory$] org.apache.mahout.viennacl.openmp.OMPMMul$
[INFO] [RootSolverFactory$] Unable to create class OMPMMul: falling back to java version
[INFO] [RootSolverFactory$] Creating org.apache.mahout.viennacl.opencl.GPUMMul solver
[INFO] [RootSolverFactory$] Unable to create class GPUMMul: attempting OpenMP version
[INFO] [RootSolverFactory$] Creating org.apache.mahout.viennacl.openmp.OMPMMul solver
[INFO] [RootSolverFactory$] org.apache.mahout.viennacl.openmp.OMPMMul$
[INFO] [RootSolverFactory$] Unable to create class OMPMMul: falling back to java version
[INFO] [RootSolverFactory$] org.apache.mahout.viennacl.openmp.OMPMMul$
[INFO] [RootSolverFactory$] Unable to create class OMPMMul: falling back to java version
[INFO] [RootSolverFactory$] Creating org.apache.mahout.viennacl.opencl.GPUMMul solver
[INFO] [RootSolverFactory$] Creating org.apache.mahout.viennacl.opencl.GPUMMul solver
[INFO] [RootSolverFactory$] Unable to create class GPUMMul: attempting OpenMP version
[INFO] [RootSolverFactory$] Creating org.apache.mahout.viennacl.openmp.OMPMMul solver
[INFO] [RootSolverFactory$] Creating org.apache.mahout.viennacl.opencl.GPUMMul solver
[Stage 82:==============> (1 + 0) / 4][INFO] [RootSolverFactory$] Unable to create class GPUMMul: attempting OpenMP version
[INFO] [RootSolverFactory$] Creating org.apache.mahout.viennacl.openmp.OMPMMul solver
[INFO] [RootSolverFactory$] org.apache.mahout.viennacl.openmp.OMPMMul$
[INFO] [RootSolverFactory$] Unable to create class GPUMMul: attempting OpenMP version
[INFO] [RootSolverFactory$] Creating org.apache.mahout.viennacl.openmp.OMPMMul solver
[INFO] [RootSolverFactory$] Creating org.apache.mahout.viennacl.opencl.GPUMMul solver
[INFO] [RootSolverFactory$] Unable to create class OMPMMul: falling back to java version
[INFO] [RootSolverFactory$] Creating org.apache.mahout.viennacl.opencl.GPUMMul solver
[INFO] [RootSolverFactory$] Unable to create class GPUMMul: attempting OpenMP version
[INFO] [RootSolverFactory$] Creating org.apache.mahout.viennacl.openmp.OMPMMul solver
[INFO] [RootSolverFactory$] org.apache.mahout.viennacl.openmp.OMPMMul$
[INFO] [RootSolverFactory$] Unable to create class OMPMMul: falling back to java version
[INFO] [RootSolverFactory$] Unable to create class GPUMMul: attempting OpenMP version
[INFO] [RootSolverFactory$] org.apache.mahout.viennacl.openmp.OMPMMul$
[INFO] [RootSolverFactory$] Unable to create class OMPMMul: falling back to java version
[INFO] [RootSolverFactory$] Creating org.apache.mahout.viennacl.opencl.GPUMMul solver
[INFO] [RootSolverFactory$] Unable to create class GPUMMul: attempting OpenMP version
[INFO] [RootSolverFactory$] Creating org.apache.mahout.viennacl.openmp.OMPMMul solver
[INFO] [RootSolverFactory$] org.apache.mahout.viennacl.openmp.OMPMMul$
[INFO] [RootSolverFactory$] Unable to create class OMPMMul: falling back to java version
[INFO] [RootSolverFactory$] Creating org.apache.mahout.viennacl.opencl.GPUMMul solver
[INFO] [RootSolverFactory$] Unable to create class GPUMMul: attempting OpenMP version
[INFO] [RootSolverFactory$] Creating org.apache.mahout.viennacl.openmp.OMPMMul solver
[INFO] [RootSolverFactory$] Creating org.apache.mahout.viennacl.openmp.OMPMMul solver
[INFO] [RootSolverFactory$] Creating org.apache.mahout.viennacl.opencl.GPUMMul solver
[INFO] [RootSolverFactory$] org.apache.mahout.viennacl.openmp.OMPMMul$
[INFO] [RootSolverFactory$] Unable to create class OMPMMul: falling back to java version
[INFO] [RootSolverFactory$] Unable to create class GPUMMul: attempting OpenMP version
[INFO] [RootSolverFactory$] Creating org.apache.mahout.viennacl.openmp.OMPMMul solver
[INFO] [RootSolverFactory$] Creating org.apache.mahout.viennacl.opencl.GPUMMul solver
[INFO] [RootSolverFactory$] org.apache.mahout.viennacl.openmp.OMPMMul$
[INFO] [RootSolverFactory$] Unable to create class OMPMMul: falling back to java version
[INFO] [RootSolverFactory$] Creating org.apache.mahout.viennacl.opencl.GPUMMul solver
[INFO] [RootSolverFactory$] Unable to create class GPUMMul: attempting OpenMP version
[INFO] [RootSolverFactory$] Creating org.apache.mahout.viennacl.openmp.OMPMMul solver
[INFO] [RootSolverFactory$] org.apache.mahout.viennacl.openmp.OMPMMul$
[INFO] [RootSolverFactory$] Unable to create class OMPMMul: falling back to java version
[INFO] [RootSolverFactory$] Unable to create class GPUMMul: attempting OpenMP version
[INFO] [RootSolverFactory$] Creating org.apache.mahout.viennacl.openmp.OMPMMul solver
[INFO] [RootSolverFactory$] org.apache.mahout.viennacl.openmp.OMPMMul$
[INFO] [RootSolverFactory$] Unable to create class OMPMMul: falling back to java version
[INFO] [RootSolverFactory$] org.apache.mahout.viennacl.openmp.OMPMMul$
[INFO] [RootSolverFactory$] Unable to create class OMPMMul: falling back to java version
[INFO] [RootSolverFactory$] org.apache.mahout.viennacl.openmp.OMPMMul$
[INFO] [RootSolverFactory$] Unable to create class OMPMMul: falling back to java version
[INFO] [RootSolverFactory$] Creating org.apache.mahout.viennacl.opencl.GPUMMul solver
[INFO] [RootSolverFactory$] Unable to create class GPUMMul: attempting OpenMP version
[INFO] [RootSolverFactory$] Creating org.apache.mahout.viennacl.openmp.OMPMMul solver
[INFO] [RootSolverFactory$] org.apache.mahout.viennacl.openmp.OMPMMul$
[INFO] [RootSolverFactory$] Unable to create class OMPMMul: falling back to java version
[INFO] [RootSolverFactory$] Creating org.apache.mahout.viennacl.opencl.GPUMMul solver
[INFO] [RootSolverFactory$] Unable to create class GPUMMul: attempting OpenMP version
[INFO] [RootSolverFactory$] Creating org.apache.mahout.viennacl.openmp.OMPMMul solver
[INFO] [RootSolverFactory$] org.apache.mahout.viennacl.openmp.OMPMMul$
[INFO] [RootSolverFactory$] Unable to create class OMPMMul: falling back to java version
[INFO] [RootSolverFactory$] Creating org.apache.mahout.viennacl.opencl.GPUMMul solver
[INFO] [RootSolverFactory$] Unable to create class GPUMMul: attempting OpenMP version
[INFO] [RootSolverFactory$] Creating org.apache.mahout.viennacl.openmp.OMPMMul solver
[INFO] [RootSolverFactory$] org.apache.mahout.viennacl.openmp.OMPMMul$
[INFO] [RootSolverFactory$] Unable to create class OMPMMul: falling back to java version
[INFO] [RootSolverFactory$] Creating org.apache.mahout.viennacl.opencl.GPUMMul solver
[INFO] [RootSolverFactory$] Unable to create class GPUMMul: attempting OpenMP version
[INFO] [RootSolverFactory$] Creating org.apache.mahout.viennacl.openmp.OMPMMul solver
[INFO] [RootSolverFactory$] org.apache.mahout.viennacl.openmp.OMPMMul$
[INFO] [RootSolverFactory$] Unable to create class OMPMMul: falling back to java version
[INFO] [RootSolverFactory$] Creating org.apache.mahout.viennacl.opencl.GPUMMul solver
[INFO] [RootSolverFactory$] Unable to create class GPUMMul: attempting OpenMP version
[INFO] [RootSolverFactory$] Creating org.apache.mahout.viennacl.openmp.OMPMMul solver
[INFO] [RootSolverFactory$] org.apache.mahout.viennacl.openmp.OMPMMul$
[INFO] [RootSolverFactory$] Unable to create class OMPMMul: falling back to java version
[INFO] [URModel] ES fields[11]: List(available, size, id, color, expires, uniqueRank, show, defaultRank, popularRank, date, like)
[INFO] [EsClient$] Mappings for the index: { "properties": { available : { "type": "string", "index": "not_analyzed", "norms" : { "enabled" : "false" } }, size : { "type": "string", "index": "not_analyzed", "norms" : { "enabled" : "false" } }, id : { "type": "string", "index": "not_analyzed", "norms" : { "enabled" : "false" } }, color : { "type": "string", "index": "not_analyzed", "norms" : { "enabled" : "false" } }, expires : { "type": "string", "index": "not_analyzed", "norms" : { "enabled" : "false" } }, uniqueRank : { "type": "float", "index": "not_analyzed", "norms" : { "enabled" : "false" } }, show : { "type": "string", "index": "not_analyzed", "norms" : { "enabled" : "true" } }, defaultRank : { "type": "float", "index": "not_analyzed", "norms" : { "enabled" : "false" } }, popularRank : { "type": "float", "index": "not_analyzed", "norms" : { "enabled" : "false" } }, date : { "type": "string", "index": "not_analyzed", "norms" : { "enabled" : "false" } }, like : { "type": "string", "index": "not_analyzed", "norms" : { "enabled" : "true" } }, "id": { "type": "string", "index": "not_analyzed", "norms" : { "enabled" : false } } }}
[INFO] [Engine$] org.apache.predictionio.data.storage.NullModel does not support data sanity check. Skipping check.
[INFO] [Engine$] EngineWorkflow.train completed
[INFO] [Engine] engineInstanceId=AV6Dm3NWCbx7FOi5WAef
[INFO] [CoreWorkflow$] Inserting persistent model
[INFO] [CoreWorkflow$] Updating engine instance
[INFO] [CoreWorkflow$] Training completed successfully.
==================================================================
WARNING the model will be undeployed after this test,
so any running PredictionServer will be stopped
Waiting 30 seconds for the server to start
==================================================================
nohup: redirecting stderr to stdout
==================================================================
Running test query.
==================================================================
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 320 100 295 100 25 311 26 --:--:-- --:--:-- --:--:-- 311
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 304 100 279 100 25 5811 520 --:--:-- --:--:-- --:--:-- 5936
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 319 100 294 100 25 6584 559 --:--:-- --:--:-- --:--:-- 6681
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 304 100 279 100 25 5946 532 --:--:-- --:--:-- --:--:-- 6065
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 338 100 313 100 25 8790 702 --:--:-- --:--:-- --:--:-- 8942
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 368 100 340 100 28 4519 372 --:--:-- --:--:-- --:--:-- 4594
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 356 100 328 100 28 8444 720 --:--:-- --:--:-- --:--:-- 8631
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 372 100 344 100 28 9287 755 --:--:-- --:--:-- --:--:-- 9555
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 373 100 345 100 28 9914 804 --:--:-- --:--:-- --:--:-- 10147
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 356 100 328 100 28 2439 208 --:--:-- --:--:-- --:--:-- 2429
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 317 100 313 100 4 2168 27 --:--:-- --:--:-- --:--:-- 2173
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 335 100 313 100 22 2586 181 --:--:-- --:--:-- --:--:-- 2608
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 335 100 313 100 22 9871 693 --:--:-- --:--:-- --:--:-- 10096
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 181 100 82 100 99 1183 1429 --:--:-- --:--:-- --:--:-- 1455
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 416 100 313 100 103 5583 1837 --:--:-- --:--:-- --:--:-- 5690
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 341 100 163 100 178 2784 3040 --:--:-- --:--:-- --:--:-- 3787
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 298 100 131 100 167 1419 1809 --:--:-- --:--:-- --:--:-- 1835
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 343 100 293 100 50 3332 568 --:--:-- --:--:-- --:--:-- 3367
==================================================================
Restoring engine.json
==================================================================
mv: cannot stat 'user-engine.json': No such file or directory
==================================================================
Killing the deployed PredictionServer
==================================================================
==================================================================
ONE OR MORE TESTS FAILURE:
==================================================================
15c15 < {"itemScores":[{"item":"product-3","score":0.3595937192440033},{"item":"product-2","score":0.10758151859045029},{"item":"product-5","score":0.06365098059177399},{"item":"product-6","score":0.0},{"item":"product-8","score":0.0},{"item":"product-7","score":0.0},{"item":"product-9","score":0.0}]} --- > {"itemScores":[{"item":"product-3","score":0.22474607825279236},{"item":"product-2","score":0.10758151859045029},{"item":"product-5","score":0.04773823544383049},{"item":"product-6","score":0.0},{"item":"product-8","score":0.0},{"item":"product-7","score":0.0},{"item":"product-9","score":0.0}]} 19c19 < {"itemScores":[{"item":"product-4","score":0.6799420118331909},{"item":"product-1","score":0.2569144368171692},{"item":"product-6","score":0.0},{"item":"product-5","score":0.0},{"item":"product-8","score":0.0},{"item":"product-7","score":0.0},{"item":"product-9","score":0.0}]} --- > {"itemScores":[{"item":"product-4","score":0.31164008378982544},{"item":"product-1","score":0.16057151556015015},{"item":"product-6","score":0.0},{"item":"product-5","score":0.0},{"item":"product-8","score":0.0},{"item":"product-7","score":0.0},{"item":"product-9","score":0.0}]} 23c23 < {"itemScores":[{"item":"product-2","score":0.3595937192440033},{"item":"product-1","score":0.3595937192440033},{"item":"product-5","score":0.017842993140220642},{"item":"product-6","score":0.0},{"item":"product-8","score":0.0},{"item":"product-7","score":0.0},{"item":"product-9","score":0.0}]} --- > {"itemScores":[{"item":"product-2","score":0.3595937192440033},{"item":"product-1","score":0.2921698987483978},{"item":"product-5","score":0.017842993140220642},{"item":"product-6","score":0.0},{"item":"product-8","score":0.0},{"item":"product-7","score":0.0},{"item":"product-9","score":0.0}]} 27c27 < {"itemScores":[{"item":"product-1","score":0.2559533715248108},{"item":"product-3","score":0.0944056436419487},{"item":"product-2","score":0.0},{"item":"product-6","score":0.0},{"item":"product-8","score":0.0},{"item":"product-7","score":0.0},{"item":"product-9","score":0.0}]} --- > {"itemScores":[{"item":"product-1","score":0.21756036579608917},{"item":"product-3","score":0.05900352820754051},{"item":"product-2","score":0.0},{"item":"product-6","score":0.0},{"item":"product-8","score":0.0},{"item":"product-7","score":0.0},{"item":"product-9","score":0.0}]} 37c37 < {"itemScores":[{"item":"product-3","score":0.40796521306037903},{"item":"product-4","score":0.3626357316970825},{"item":"product-5","score":0.07773856818675995},{"item":"product-2","score":0.0770743265748024},{"item":"product-6","score":0.0},{"item":"product-8","score":0.0},{"item":"product-7","score":0.0},{"item":"product-9","score":0.0}]} --- > {"itemScores":[{"item":"product-3","score":0.2549782693386078},{"item":"product-4","score":0.158653125166893},{"item":"product-2","score":0.0770743265748024},{"item":"product-5","score":0.06478214263916016},{"item":"product-6","score":0.0},{"item":"product-8","score":0.0},{"item":"product-7","score":0.0},{"item":"product-9","score":0.0}]} 41c41 < {"itemScores":[{"item":"product-4","score":0.8485281467437744},{"item":"product-3","score":0.20341692864894867},{"item":"product-1","score":0.20341692864894867},{"item":"product-6","score":0.0},{"item":"product-5","score":0.0},{"item":"product-8","score":0.0},{"item":"product-7","score":0.0},{"item":"product-9","score":0.0}]} --- > {"itemScores":[{"item":"product-4","score":0.39774757623672485},{"item":"product-3","score":0.12713557481765747},{"item":"product-1","score":0.12713557481765747},{"item":"product-6","score":0.0},{"item":"product-5","score":0.0},{"item":"product-8","score":0.0},{"item":"product-7","score":0.0},{"item":"product-9","score":0.0}]} 45c45 < {"itemScores":[{"item":"product-4","score":0.28767499327659607},{"item":"product-1","score":0.21575623750686646},{"item":"product-2","score":0.06454890966415405},{"item":"product-5","score":0.010705795139074326},{"item":"product-6","score":0.0},{"item":"product-8","score":0.0},{"item":"product-7","score":0.0},{"item":"product-9","score":0.0}]} --- > {"itemScores":[{"item":"product-1","score":0.1753019392490387},{"item":"product-4","score":0.12585781514644623},{"item":"product-2","score":0.06454890966415405},{"item":"product-5","score":0.010705795139074326},{"item":"product-6","score":0.0},{"item":"product-8","score":0.0},{"item":"product-7","score":0.0},{"item":"product-9","score":0.0}]} 49c49 < {"itemScores":[{"item":"product-2","score":0.07302875816822052},{"item":"product-3","score":0.07302875071763992},{"item":"product-1","score":0.07302875071763992},{"item":"product-5","score":0.029496734961867332},{"item":"product-6","score":0.0},{"item":"product-8","score":0.0},{"item":"product-7","score":0.0},{"item":"product-9","score":0.0}]} --- > {"itemScores":[{"item":"product-2","score":0.07302875816822052},{"item":"product-3","score":0.04564296826720238},{"item":"product-1","score":0.04564296826720238},{"item":"product-5","score":0.014748367480933666},{"item":"product-6","score":0.0},{"item":"product-8","score":0.0},{"item":"product-7","score":0.0},{"item":"product-9","score":0.0}]} 53c53 < {"itemScores":[{"item":"product-4","score":0.4954302906990051},{"item":"product-1","score":0.28767499327659607},{"item":"product-3","score":0.1290978193283081},{"item":"product-2","score":0.0},{"item":"product-6","score":0.0},{"item":"product-8","score":0.0},{"item":"product-7","score":0.0},{"item":"product-9","score":0.0}]} --- > {"itemScores":[{"item":"product-1","score":0.26070547103881836},{"item":"product-4","score":0.21675077080726624},{"item":"product-3","score":0.08068614453077316},{"item":"product-2","score":0.0},{"item":"product-6","score":0.0},{"item":"product-8","score":0.0},{"item":"product-7","score":0.0},{"item":"product-9","score":0.0}]} 85c85 < {"itemScores":[{"item":"product-6","score":0.0},{"item":"product-7","score":0.0}]} --- > {"itemScores":[{"item":"product-5","score":0.04773823544383049},{"item":"product-6","score":0.0},{"item":"product-7","score":0.0}]} 91c91 < {"itemScores":[{"item":"product-3","score":0.7042884230613708},{"item":"product-2","score":0.14845967292785645},{"item":"product-5","score":0.12810268998146057},{"item":"product-6","score":0.0},{"item":"product-8","score":0.0},{"item":"product-7","score":0.0},{"item":"product-9","score":0.0}]} --- > {"itemScores":[{"item":"product-3","score":0.4401802718639374},{"item":"product-2","score":0.14845967292785645},{"item":"product-5","score":0.1024821475148201},{"item":"product-6","score":0.0},{"item":"product-8","score":0.0},{"item":"product-7","score":0.0},{"item":"product-9","score":0.0}]}
==================================================================
root@761bc1b7600d:~/ur# git log -n 1 | cat
commit 956d2a5b19c3ee66701fd0f30fc5484feafcbcc8
Author: Pat Ferrel <[email protected]>
Date: Thu Aug 10 08:10:03 2017 -0700
added the devworks blog link
root@761bc1b7600d:~/ur# diff -u ./rank-query-test-result.out data/rank-test-query-expected.txt
--- ./rank-query-test-result.out 2017-09-15 03:37:04.097160413 +0000
+++ data/rank-test-query-expected.txt 2017-09-15 03:13:07.203887741 +0000
@@ -12,19 +12,19 @@
Recommendations for user: user-1
-{"itemScores":[{"item":"product-3","score":0.22474607825279236},{"item":"product-2","score":0.10758151859045029},{"item":"product-5","score":0.04773823544383049},{"item":"product-6","score":0.0},{"item":"product-8","score":0.0},{"item":"product-7","score":0.0},{"item":"product-9","score":0.0}]}
+{"itemScores":[{"item":"product-3","score":0.3595937192440033},{"item":"product-2","score":0.10758151859045029},{"item":"product-5","score":0.06365098059177399},{"item":"product-6","score":0.0},{"item":"product-8","score":0.0},{"item":"product-7","score":0.0},{"item":"product-9","score":0.0}]}
Recommendations for user: user-2
-{"itemScores":[{"item":"product-4","score":0.31164008378982544},{"item":"product-1","score":0.16057151556015015},{"item":"product-6","score":0.0},{"item":"product-5","score":0.0},{"item":"product-8","score":0.0},{"item":"product-7","score":0.0},{"item":"product-9","score":0.0}]}
+{"itemScores":[{"item":"product-4","score":0.6799420118331909},{"item":"product-1","score":0.2569144368171692},{"item":"product-6","score":0.0},{"item":"product-5","score":0.0},{"item":"product-8","score":0.0},{"item":"product-7","score":0.0},{"item":"product-9","score":0.0}]}
Recommendations for user: user-3
-{"itemScores":[{"item":"product-2","score":0.3595937192440033},{"item":"product-1","score":0.2921698987483978},{"item":"product-5","score":0.017842993140220642},{"item":"product-6","score":0.0},{"item":"product-8","score":0.0},{"item":"product-7","score":0.0},{"item":"product-9","score":0.0}]}
+{"itemScores":[{"item":"product-2","score":0.3595937192440033},{"item":"product-1","score":0.3595937192440033},{"item":"product-5","score":0.017842993140220642},{"item":"product-6","score":0.0},{"item":"product-8","score":0.0},{"item":"product-7","score":0.0},{"item":"product-9","score":0.0}]}
Recommendations for user: user-4
-{"itemScores":[{"item":"product-1","score":0.21756036579608917},{"item":"product-3","score":0.05900352820754051},{"item":"product-2","score":0.0},{"item":"product-6","score":0.0},{"item":"product-8","score":0.0},{"item":"product-7","score":0.0},{"item":"product-9","score":0.0}]}
+{"itemScores":[{"item":"product-1","score":0.2559533715248108},{"item":"product-3","score":0.0944056436419487},{"item":"product-2","score":0.0},{"item":"product-6","score":0.0},{"item":"product-8","score":0.0},{"item":"product-7","score":0.0},{"item":"product-9","score":0.0}]}
Recommendations for user: user-5
@@ -34,23 +34,23 @@
Recommendations for item: product-1
-{"itemScores":[{"item":"product-3","score":0.2549782693386078},{"item":"product-4","score":0.158653125166893},{"item":"product-2","score":0.0770743265748024},{"item":"product-5","score":0.06478214263916016},{"item":"product-6","score":0.0},{"item":"product-8","score":0.0},{"item":"product-7","score":0.0},{"item":"product-9","score":0.0}]}
+{"itemScores":[{"item":"product-3","score":0.40796521306037903},{"item":"product-4","score":0.3626357316970825},{"item":"product-5","score":0.07773856818675995},{"item":"product-2","score":0.0770743265748024},{"item":"product-6","score":0.0},{"item":"product-8","score":0.0},{"item":"product-7","score":0.0},{"item":"product-9","score":0.0}]}
Recommendations for item: product-2
-{"itemScores":[{"item":"product-4","score":0.39774757623672485},{"item":"product-3","score":0.12713557481765747},{"item":"product-1","score":0.12713557481765747},{"item":"product-6","score":0.0},{"item":"product-5","score":0.0},{"item":"product-8","score":0.0},{"item":"product-7","score":0.0},{"item":"product-9","score":0.0}]}
+{"itemScores":[{"item":"product-4","score":0.8485281467437744},{"item":"product-3","score":0.20341692864894867},{"item":"product-1","score":0.20341692864894867},{"item":"product-6","score":0.0},{"item":"product-5","score":0.0},{"item":"product-8","score":0.0},{"item":"product-7","score":0.0},{"item":"product-9","score":0.0}]}
Recommendations for item: product-3
-{"itemScores":[{"item":"product-1","score":0.1753019392490387},{"item":"product-4","score":0.12585781514644623},{"item":"product-2","score":0.06454890966415405},{"item":"product-5","score":0.010705795139074326},{"item":"product-6","score":0.0},{"item":"product-8","score":0.0},{"item":"product-7","score":0.0},{"item":"product-9","score":0.0}]}
+{"itemScores":[{"item":"product-4","score":0.28767499327659607},{"item":"product-1","score":0.21575623750686646},{"item":"product-2","score":0.06454890966415405},{"item":"product-5","score":0.010705795139074326},{"item":"product-6","score":0.0},{"item":"product-8","score":0.0},{"item":"product-7","score":0.0},{"item":"product-9","score":0.0}]}
Recommendations for item: product-4
-{"itemScores":[{"item":"product-2","score":0.07302875816822052},{"item":"product-3","score":0.04564296826720238},{"item":"product-1","score":0.04564296826720238},{"item":"product-5","score":0.014748367480933666},{"item":"product-6","score":0.0},{"item":"product-8","score":0.0},{"item":"product-7","score":0.0},{"item":"product-9","score":0.0}]}
+{"itemScores":[{"item":"product-2","score":0.07302875816822052},{"item":"product-3","score":0.07302875071763992},{"item":"product-1","score":0.07302875071763992},{"item":"product-5","score":0.029496734961867332},{"item":"product-6","score":0.0},{"item":"product-8","score":0.0},{"item":"product-7","score":0.0},{"item":"product-9","score":0.0}]}
Recommendations for item: product-5
-{"itemScores":[{"item":"product-1","score":0.26070547103881836},{"item":"product-4","score":0.21675077080726624},{"item":"product-3","score":0.08068614453077316},{"item":"product-2","score":0.0},{"item":"product-6","score":0.0},{"item":"product-8","score":0.0},{"item":"product-7","score":0.0},{"item":"product-9","score":0.0}]}
+{"itemScores":[{"item":"product-4","score":0.4954302906990051},{"item":"product-1","score":0.28767499327659607},{"item":"product-3","score":0.1290978193283081},{"item":"product-2","score":0.0},{"item":"product-6","score":0.0},{"item":"product-8","score":0.0},{"item":"product-7","score":0.0},{"item":"product-9","score":0.0}]}
============ popular item recs only ============
@@ -82,10 +82,10 @@
Recommendations for user: user-1
-{"itemScores":[{"item":"product-5","score":0.04773823544383049},{"item":"product-6","score":0.0},{"item":"product-7","score":0.0}]}
+{"itemScores":[{"item":"product-6","score":0.0},{"item":"product-7","score":0.0}]}
============ query with item and user *EXPERIMENTAL* ============
Recommendations for user-1 & product-1
-{"itemScores":[{"item":"product-3","score":0.4401802718639374},{"item":"product-2","score":0.14845967292785645},{"item":"product-5","score":0.1024821475148201},{"item":"product-6","score":0.0},{"item":"product-8","score":0.0},{"item":"product-7","score":0.0},{"item":"product-9","score":0.0}]}
+{"itemScores":[{"item":"product-3","score":0.7042884230613708},{"item":"product-2","score":0.14845967292785645},{"item":"product-5","score":0.12810268998146057},{"item":"product-6","score":0.0},{"item":"product-8","score":0.0},{"item":"product-7","score":0.0},{"item":"product-9","score":0.0}]}