title: How to save and load MLLib model in Apache Spark?
body: <p>I trained a classification model in Apache Spark (using <code>pyspark</code>). I stored the model in an object, <code>LogisticRegressionModel</code>. Now, I want to make predictions on new data. I would like to store the model, and read it back into a new program in order to make the predictions. Any idea how to store the model? I'm thinking of maybe pickle, but I'm a newbie to both python and Spark, so I'd like to hear what the community thinks.</p>