-
Notifications
You must be signed in to change notification settings - Fork 3
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
NullPointerException when passing properties as primitives #32
Comments
Yes, the tribuo configuration requires String for the properties. does only "forward" what it gets to Tribuo Java. And this seems not do do any error checking or giving better error messages for this specific case. |
Currently we do "zero parsing or error checking" on the configuration map and I would not know where to start and where to stop this validation. In my view, Tribuo needs to solve this. In this folder there are lots of "edn" examples: I updated as well the documentation and hint on this issue: |
I opened a bug report with "olcut": |
Sounds good. Thanks for looking into this and opening that other bug! |
I was training a basic SGD regression model like so:
This resulted in a
NullPointerException
that looked something like this:I spent 30+ minutes debugging this and fixed the error by passing the values in
:properties
as strings instead of primitives as I have it above.Passing these values as strings is fine IMO, but it'd be nice to have a helpful validation check to alert me of this error in the future. Thoughts?
The text was updated successfully, but these errors were encountered: