%md ## In this notebook
This notebook demonstrates how to use MLeap to export a from MLlib and how to load the saved PipelineModel to make predictions.
The basic workflow is as follows:
* Model export
* Fit a PipelineModel using MLlib.
* Use MLeap to serialize the PipelineModel to zip file or to directory.
* Move the PipelineModel files to your deployment project or data store.
* In your project
* Use MLeap to deserialize the saved PipelineModel.
* Make predictions.
Model export with MLeap
MLeap is a common serialization format and execution engine for machine learning pipelines. It supports Apache Spark, scikit-learn, and TensorFlow for training pipelines and exporting them to an MLeap Bundle. Serialized pipelines (bundles) can be deserialized back into Apache Spark, scikit-learn, TensorFlow graphs, or an MLeap pipeline. This notebook demonstrates how to use MLeap to do the model export with MLlib.