-
Notifications
You must be signed in to change notification settings - Fork 66
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
Error when training model - Division by zero when all values in an array are 0 #47
Comments
Only seems to happen with some parameter combinations |
@alastair : |
This happens we you a trying to normalize a descriptors which value is always constant across dataset. I've improved the error message in the last commit. Make sure the "cleaner" transformation is applied before doing "normalize". If it is applied still there is error, we'll need to dig into this problem further. |
Cleaner IS applied before "normalize" in |
Indeed, "cleaner" is applied before "normalize" in "classifier_SVM.py".
And I did not configure anything and I see the "division by zero" error. |
The programm displays the error message for |
Yes, please send me your example and I will run it. |
You can find the example here : |
Testing this example now. Btw, no need to use export PYTHONPATH inside your script. You can simply do |
Thanks. |
@dbogdanov Did you have problems while testing? |
https://acousticbrainz.org/datasets/7a052ef4-cad2-4362-a075-5933b20609f0
The text was updated successfully, but these errors were encountered: