--- layout: global title: PMML model export - RDD-based API displayTitle: PMML model export - RDD-based API --- * Table of contents {:toc} ## `spark.mllib` supported models `spark.mllib` supports model export to Predictive Model Markup Language ([PMML](http://en.wikipedia.org/wiki/Predictive_Model_Markup_Language)). The table below outlines the `spark.mllib` models that can be exported to PMML and their equivalent PMML model.
`spark.mllib` model | PMML model |
---|---|
KMeansModel | ClusteringModel |
LinearRegressionModel | RegressionModel (functionName="regression") |
RidgeRegressionModel | RegressionModel (functionName="regression") |
LassoModel | RegressionModel (functionName="regression") |
SVMModel | RegressionModel (functionName="classification" normalizationMethod="none") |
Binary LogisticRegressionModel | RegressionModel (functionName="classification" normalizationMethod="logit") |