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

SVDPlusPlusLearner traninng diverge error #15

Open
audachang opened this issue Dec 16, 2020 · 0 comments
Open

SVDPlusPlusLearner traninng diverge error #15

audachang opened this issue Dec 16, 2020 · 0 comments

Comments

@audachang
Copy link

audachang commented Dec 16, 2020

Recommendation version

latest

Orange version

3.27.1

Expected behavior

(Print on screen)
[0.98389692 1.01224489 1.0078577 ]

Steps to reproduce the behavior

import Orange
from orangecontrib.recommendation import SVDPlusPlusLearner, BRISMFLearner

#Load data and train the model
data = Orange.data.Table('movie_lens/epinions_train.tab')
learner = SVDPlusPlusLearner(num_factors=15, num_iter=25, learning_rate=0.07, lmbda=0.1)
recommender = learner(data)

#Make predictions
prediction = recommender(data[:3])
print(prediction)

Actual behavior

RuntimeError: Training diverged and returned NaN.

Additional info (worksheets, data, screenshots, ...)

data are from the dataset folder of the recommendation package; placed at a subfolder "movie_lens" in the path of the script; actually any of the datafile causes the same error. using BRIMSFLearner works.
https://github.com/biolab/orange3-recommendation/blob/master/orangecontrib/recommendation/datasets/epinions_train.tab

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