org.apache.spark.mllib.pmml
Interface PMMLExportable

All Known Implementing Classes:
KMeansModel, LassoModel, LinearRegressionModel, LogisticRegressionModel, RidgeRegressionModel, StreamingKMeansModel, SVMModel

public interface PMMLExportable

:: DeveloperApi :: 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 Summary
 String toPMML()
          :: Experimental :: Export the model to a String in PMML format
 void toPMML(java.io.OutputStream outputStream)
          :: Experimental :: Export the model to the OutputStream in PMML format
 void toPMML(SparkContext sc, String path)
          :: Experimental :: Export the model to a directory on a distributed file system in PMML format
 void toPMML(javax.xml.transform.stream.StreamResult streamResult)
          Export the model to the stream result in PMML format
 void toPMML(String localPath)
          :: Experimental :: Export the model to a local file in PMML format
 

Method Detail

toPMML

void toPMML(javax.xml.transform.stream.StreamResult streamResult)
Export the model to the stream result in PMML format

Parameters:
streamResult - (undocumented)

toPMML

void toPMML(String localPath)
:: Experimental :: Export the model to a local file in PMML format

Parameters:
localPath - (undocumented)

toPMML

void toPMML(SparkContext sc,
            String path)
:: Experimental :: Export the model to a directory on a distributed file system in PMML format

Parameters:
sc - (undocumented)
path - (undocumented)

toPMML

void toPMML(java.io.OutputStream outputStream)
:: Experimental :: Export the model to the OutputStream in PMML format

Parameters:
outputStream - (undocumented)

toPMML

String toPMML()
:: Experimental :: Export the model to a String in PMML format

Returns:
(undocumented)