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

ValueError: floating-point under-/overflow occurred. #11

Open
dreamflasher opened this issue Jun 2, 2014 · 0 comments
Open

ValueError: floating-point under-/overflow occurred. #11

dreamflasher opened this issue Jun 2, 2014 · 0 comments

Comments

@dreamflasher
Copy link

Issuing:
mrec_train -n8 --train=filtered_p1_u40_t50.txt.train.matrix.idx --input_format=tsv --outdir p1u40t50

Yields:
[2014-06-02 13:44:20,204] INFO: 96556 users and 30924 items
[2014-06-02 13:44:20,658] INFO: running 8 tasks in parallel across ipython engines...
Traceback (most recent call last):
File "/usr/local/anaconda/bin/mrec_train", line 9, in
load_entry_point('mrec==0.3.1', 'console_scripts', 'mrec_train')()
File "build/bdist.linux-x86_64/egg/mrec/examples/train.py", line 136, in main
File "build/bdist.linux-x86_64/egg/mrec/parallel/item_similarity.py", line 39, in run
File "/usr/local/anaconda/lib/python2.7/site-packages/IPython/parallel/client/asyncresult.py", line 118, in get
raise self._exception
IPython.parallel.error.CompositeError: one or more exceptions from call to method: process
[3:apply]: ValueError: floating-point under-/overflow occurred.
[1:apply]: ValueError: floating-point under-/overflow occurred.
[0:apply]: ValueError: floating-point under-/overflow occurred.
[5:apply]: ValueError: floating-point under-/overflow occurred.

Usually this happens due to too large regularization learning rate, but there seems to be no option to change the learning rate for SLIM.

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