Class PipelineModelUtil

java.lang.Object
org.jpmml.sparkml.PipelineModelUtil

public class PipelineModelUtil extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    addStage(org.apache.spark.ml.PipelineModel pipelineModel, int index, org.apache.spark.ml.Transformer transformer)
     
    static org.apache.spark.ml.PipelineModel
    load(org.apache.spark.sql.SparkSession sparkSession, File dir)
     
    static org.apache.spark.ml.PipelineModel
    loadZip(org.apache.spark.sql.SparkSession sparkSession, File file)
     
    static org.apache.spark.ml.Transformer
    removeStage(org.apache.spark.ml.PipelineModel pipelineModel, int index)
     
    static void
    store(org.apache.spark.ml.PipelineModel pipelineModel, File dir)
     
    static void
    storeZip(org.apache.spark.ml.PipelineModel pipelineModel, File file)
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • addStage

      public static void addStage(org.apache.spark.ml.PipelineModel pipelineModel, int index, org.apache.spark.ml.Transformer transformer)
    • removeStage

      public static org.apache.spark.ml.Transformer removeStage(org.apache.spark.ml.PipelineModel pipelineModel, int index)
    • load

      public static org.apache.spark.ml.PipelineModel load(org.apache.spark.sql.SparkSession sparkSession, File dir) throws IOException
      Throws:
      IOException
    • loadZip

      public static org.apache.spark.ml.PipelineModel loadZip(org.apache.spark.sql.SparkSession sparkSession, File file) throws IOException
      Throws:
      IOException
    • store

      public static void store(org.apache.spark.ml.PipelineModel pipelineModel, File dir) throws IOException
      Throws:
      IOException
    • storeZip

      public static void storeZip(org.apache.spark.ml.PipelineModel pipelineModel, File file) throws IOException
      Throws:
      IOException