openml-python
openml-python copied to clipboard
Implement the following unit test
A good unit test would consist of the following steps:
- instantiate a classifier
- solve a small task with a complex decision boundary
- upload the classifier to OpenML (not necessarily the run result)
- download the flow from OpenML and re-instantiate the classifier
- solve the same small task as in step 2
- assert that the predictions from the classifier before uploading are exactly the same as the predictions from the re-instantiated classifier
Courtesy to @janvanrijn on https://github.com/openml/OpenML/wiki/Flow-Serialization