Alexandre Brillant
Alexandre Brillant
Note : this code uses neruaxle package from the latest commit in this pull requests : https://github.com/Neuraxio/Neuraxle/pull/182 TODO : Notebook for demonstration. Validation Split Wrapper.
This needs to be changed to be able to call a method on the step with the additional arguments (eg. _set_hyperparams): ```python for argument_name, argument_value in additional_worker_arguments: step.__dict__.update({argument_name: argument_value}) ```
**Is your feature request related to a problem? Please describe.** Workers should be able to catch exceptions properly and broadcast a termination signal to all of the current workers. **First...
```python class ExecutionContext: def mkdir(self): """ Creates the directory to save the last parent step. :return: """ path = self.get_path() if not os.path.exists(path): os.makedirs(path) def rmtree(self): #TODO: shutil.rmtree ?? ```
Instead of stopping the workers on _did_transform, it would be better to stop them on teardown or upon saving. This is how it looks like right now in the code:...