graphaware / neo4j-reco

Neo4j-based recommendation engine module with real-time and pre-computed recommendations.
374 stars 77 forks source link

Weight discovery #32

Closed Nyholm closed 7 years ago

Nyholm commented 7 years ago

Is there anyway you could weight (set importance) on the discovery strategies in order to calculate the total score?

Say I got three discovery strategies A, B and C. I want A to be 3 times more important than B. And C barley important at all. Total score = 3_A + B + 0.2_C

ikwattro commented 7 years ago

Well, You can add your weight configuration in the Config before running the engine. Then use it from the Config when overriding the getScore method. btw this is the java implementation, shouldn't this issue go to reco4php ?

Nyholm commented 7 years ago

Thank you

Nyholm commented 7 years ago

Yes, You are correct. I was posing the issue in the wrong repo. But I found that your answer still applies.