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

Nans cause database failure #73

Closed
mpharrigan opened this issue Mar 16, 2015 · 1 comment
Closed

Nans cause database failure #73

mpharrigan opened this issue Mar 16, 2015 · 1 comment
Assignees
Labels
Milestone

Comments

@mpharrigan
Copy link
Member

sqlalchemy.exc.DataError: (raised as a result of Query-invoked autoflush; consider using a session.no_autoflush block if this flush is occurring prematurely) (DataError) 

(1264, "Out of range value for column 'mean_test_score' at row 1", None)
'UPDATE trials_v3 SET status=?, mean_test_score=?, mean_train_score=?, train_scores=?, test_scores=?, n_train_samples=?, n_test_samples=? WHERE trials_v3.id = ?'
('SUCCEEDED', nan, 5.9117118738995851, '[5.875094311095048, 5.964270097753747, 5.826748523773368, 5.970600009795744, 5.927208228433113]', '[NaN, 5.4756195605412055, -0.22265625, 5.674961419430565, 4.636925810916765]', '[33863, 33863, 36000, 33863, 33863]', '[40000, 40000, 37863, 40000, 40000]', 68)

This is with mysql. It would be nice if it could insert a nan instead of raising an exception

edit: added some line breaks to make it slightly more readable

@cxhernandez cxhernandez mentioned this issue Mar 7, 2016
15 tasks
@cxhernandez cxhernandez added the bug label Mar 7, 2016
@cxhernandez cxhernandez added this to the v0.5 milestone Mar 7, 2016
@cxhernandez cxhernandez self-assigned this Mar 7, 2016
@cxhernandez cxhernandez modified the milestones: v1.0, v0.5 Mar 16, 2016
@cxhernandez
Copy link
Member

resolved in #110

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants