Closed xuzhang5788 closed 3 years ago
@xuzhang5788 all models are saved and loaded automatically. No need to call save()
or load()
.
automl = AutoML(results_path="AutoML_classifier")
automl.fit(X, y)
You will have all models saved in the AutoML_classifier
directory. Each model will have a separate directory with the README.md
file with all details from the training.
automl = AutoML(results_path="AutoML_classifier")
automl.predict(X)
The AutoML automatically loads models from the results_path
directory. If you will call fit()
on already trained AutoML then you will get a warning message that AutoML is already fitted.
All models are automatically saved to be able to restore the training after interruption. For example, you are training AutoML for 48 hours, and after 47 hours there is some unexpected interruption. In MLJAR AutoML you just call the same training code after the interruption and AutoML reloads already trained models and finish the training.
Thank you!
Thank you so much for your great repo. Please tell us how to save and reload models.