Watson AutoAI — can I get the model?

Figure 1. Save as Notebook option.
pipeline_model = optimizer.get_pipeline(pipeline_name=pipeline_name)
pipeline_model = optimizer.get_pipeline(pipeline_name=pipeline_name, astype="sklearn")
predictions = pipeline_model.predict(test_X)
from joblib import dump, loadsklearn_pipeline = optimizer.get_pipeline(pipeline_name, astype=’sklearn’)
dump(sklearn_pipeline, ‘sklearn_pipeline.joblib’)
loaded_pipeline = load('sklearn_pipeline.joblib')
loaded_pipeline.predict(test_X)
pipeline_model.pretty_print(combinators=False, ipython_display=True)
Figure 2. Pipeline definition source code.
pipeline_model.pretty_print(combinators=False, ipython_display=’input’)

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store