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 Summary

    Modifier and Type
    Method
    Description
    Export the model to a String in PMML format
    void
    toPMML(OutputStream outputStream)
    Export the model to the OutputStream in PMML format
    void
    toPMML(String localPath)
    Export the model to a local file in PMML format
    void
    toPMML(StreamResult streamResult)
    Export the model to the stream result in PMML format
    void
    Export the model to a directory on a distributed file system in PMML format
  • Method Details

    • toPMML

      void toPMML(StreamResult streamResult)
      Export the model to the stream result in PMML format
      Parameters:
      streamResult - (undocumented)
    • toPMML

      void toPMML(String localPath)
      Export the model to a local file in PMML format
      Parameters:
      localPath - (undocumented)
    • toPMML

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

      void toPMML(OutputStream outputStream)
      Export the model to the OutputStream in PMML format
      Parameters:
      outputStream - (undocumented)
    • toPMML

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