You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactoring run_flow_on_task and doc add for run_model (#516)
* Documentation fix
* Add doc for run_model_on_task
* Initial additions
* Added functions to cache flows
* Tweaking a function from flow which will be used to create a task dict as a pre step for publish
* Undo 22b1e62.
* PEP8 compliance.
* Add (unused) flag to (not) upload flow. Rename get_seeded_model method as the name did not reflect the functionality.
* Add RunExistsError.
* RunsExistsError now correctly allows multiple runs, reflected in name.
* Towards offline run_model_on_task
* Fix name.
* Py3 style.
* Fix typo.
* Allow run flow locally. Caching and upload not implemented.
* Clean up test with new Error type.
* Check if flow exists before uploading.
* Remove one-line method that was only called from other method.
* Change error type. Add typehint.
* Fix imports.
* Publish flow if flow_id is None.
* Do not allow for mutable parameter.
* Fill in parameter_settings based on the referenced flow.
* Allow parameters to be extracted for model which is not part of the object.
* Can not use reinstantiated model.
* to/from filesystem methods.
* When (de)serializing, if a local flow was used, also (de)serialize the flow.
* When loading a locally stored run, do not force fields for which the flow is required to have been uploaded.
* Updated publish_error for new publish.
* Use mock for existing_flow
* Add documentation on the offline functionality.
* Disable two unit tests for now.
* Fix typo.
* PEP8.
* Remove old check.
* Update to reflect the change that uploading the flow is no longer default behavior.
* Fixed an error where non-existant flows still got the treatment to check for duplicates.
* Make tests actually fully local. Update for new parameter order.
* Type hints. Explicitly check for int rather than implicit cast of int to bool.
* Add errors for inconsistencies between local flows and server information.
* Now only sets hyperparameters if sync happened.
* Always sync with server if we know the flow to exist on the server.
* Update vanilla test. Add test for local flow upload after file stored to disk.
* Raise an error if `flow.publish` is called on a flow with different local id than the one known on the server.
* Add tests to verify identical behavior if run is loaded from disk instead.
* Line too long.
* Docs, typehint. Remove unused method publish_flow_is_necessary.
* Changed summary as suggested by @mfeurer.
* Type hints.
* Fix naming inconsistency between from_filesystem and to_filesystem.
* Updated for the new parametername.
* Function signature formatting improvements.
* Consistent spacing around colons. Add parameter description of `from_server`
* Add missing parenthesis.
* Doc changes, typehint.
* Remove check for flow as I think it is outdated.
* PrivateDatasetError and RunsExistError now prefixed with 'OpenML'
* Updated unit test to verify flows existence before/after run_model_on_task and publish.
* Start for testing model on downloaded flow.
* Explicit test for none as other __len__ can get invoked on some models to test for truthiness.
* Unit test now downloads flow after ensuring it exists.
* Test with run_flow_on_task instead so a sentinel can be added to the flow to ensure it does not exist on the server.
* Fixed a bug where run.flow_id would be set to False instead of None if associated flow did not exist but was also not uploaded. This gave errors at publish-time.
* Fix typo.
0 commit comments