Package org.apache.spark.mllib.pmml
Interface PMMLExportable
- All Known Implementing Classes:
- KMeansModel,- LassoModel,- LinearRegressionModel,- LogisticRegressionModel,- RidgeRegressionModel,- StreamingKMeansModel,- SVMModel
public interface PMMLExportable
Export model to the PMML format
 Predictive Model Markup Language (PMML) is an XML-based file format
 developed by the Data Mining Group (www.dmg.org).
- 
Method SummaryModifier and TypeMethodDescriptiontoPMML()Export the model to a String in PMML formatvoidtoPMML(OutputStream outputStream) Export the model to the OutputStream in PMML formatvoidExport the model to a local file in PMML formatvoidtoPMML(StreamResult streamResult) Export the model to the stream result in PMML formatvoidtoPMML(SparkContext sc, String path) Export the model to a directory on a distributed file system in PMML format
- 
Method Details- 
toPMMLExport the model to the stream result in PMML format- Parameters:
- streamResult- (undocumented)
 
- 
toPMMLExport the model to a local file in PMML format- Parameters:
- localPath- (undocumented)
 
- 
toPMMLExport the model to a directory on a distributed file system in PMML format- Parameters:
- sc- (undocumented)
- path- (undocumented)
 
- 
toPMMLExport the model to the OutputStream in PMML format- Parameters:
- outputStream- (undocumented)
 
- 
toPMMLString toPMML()Export the model to a String in PMML format- Returns:
- (undocumented)
 
 
-