if you run python ./lama_cpu.py -p ./data/ -k otto -f 2 -n 4 -s 42 -c ./lama_cpu.yml -t 7200 you should see a normal program termination on a different dataset.
Expected behavior
I expect the sf-crime dataset to finish successfully just like otto.
Additional context
You can make the error disappear if you change learning rate from 0.1 to 0.05. But is it a good solution?
🐛 Bug
On some multiclass tasks the linear model throws the following error:
ValueError: Input contains NaN, infinity or a value too large for dtype('float32').
called from
site-packages/sklearn/utils/validation.py
.To Reproduce
Steps to reproduce the behavior:
cd
toissue
folder;python ./lama_cpu.py -p ./data/ -k sf-crime -f 2 -n 4 -s 42 -c ./lama_cpu.yml -t 7200
;python ./lama_cpu.py -p ./data/ -k otto -f 2 -n 4 -s 42 -c ./lama_cpu.yml -t 7200
you should see a normal program termination on a different dataset.Expected behavior
I expect the
sf-crime
dataset to finish successfully just likeotto
.Additional context
You can make the error disappear if you change
learning rate
from0.1
to0.05
. But is it a good solution?Checklist
issue.zip