Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to obtain non-zero scores on results #288

Open
Cypre55 opened this issue Dec 18, 2020 · 0 comments
Open

Unable to obtain non-zero scores on results #288

Cypre55 opened this issue Dec 18, 2020 · 0 comments

Comments

@Cypre55
Copy link

Cypre55 commented Dec 18, 2020

I have used the docker one-liner to use the universal recommender.
I have used the following config file.

{
    "engineId": "test",
       "engineFactory": "com.actionml.engines.ur.UREngine",
    "sparkConf": {
	    "master": "local",
        "spark.serializer": "org.apache.spark.serializer.KryoSerializer",
        "spark.kryo.registrator": "org.apache.mahout.sparkbindings.io.MahoutKryoRegistrator",
        "spark.kryo.referenceTracking": "false",
        "spark.kryoserializer.buffer": "300m",
        "spark.executor.memory": "20g",
        "spark.driver.memory": "10g",
		"spark.es.index.auto.create": "true",
		"es.index.auto.create": "true",
        "spark.es.nodes": "elasticsearch",
        "spark.es.nodes.wan.only": "true"
    },
    "algorithm":{
        "indicators": [ 
            {
                "name": "read",
		"maxCorrelatorsPerItem": 5
            }
        ]
    }
}

After adding events 'read', two for two separate users. After training, running a simple query with an empty JSON returns all the names of the items but with their corresponding scores as 0.

I would like to know how to obtain non-zero scores for the results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant