Closed burnash closed 7 years ago
Explicitly convert numpy value to float to avoid JSON serialization errors which cause failure in some of the model tests.
Background: http://ellisvalentiner.com/post/2016-01-20-numpyfloat64-is-json-serializable-but-numpyfloat32-is-not/
Explicitly convert numpy value to float to avoid JSON serialization errors which cause failure in some of the model tests.
Background: http://ellisvalentiner.com/post/2016-01-20-numpyfloat64-is-json-serializable-but-numpyfloat32-is-not/