Class LinearModelUtil

java.lang.Object
org.jpmml.sparkml.model.LinearModelUtil

public class LinearModelUtil extends Object
  • Constructor Details

    • LinearModelUtil

      public LinearModelUtil()
  • Method Details

    • createRegression

      public static <C extends org.jpmml.sparkml.ModelConverter<?> & HasRegressionTableOptions> org.dmg.pmml.Model createRegression(C converter, org.apache.spark.ml.linalg.Vector coefficients, double intercept, org.jpmml.converter.Schema schema)
    • createBinaryLogisticClassification

      public static <C extends org.jpmml.sparkml.ModelConverter<?> & HasRegressionTableOptions> org.dmg.pmml.Model createBinaryLogisticClassification(C converter, org.apache.spark.ml.linalg.Vector coefficients, double intercept, org.jpmml.converter.Schema schema)
    • createSoftmaxClassification

      public static <C extends org.jpmml.sparkml.ModelConverter<?> & HasRegressionTableOptions> org.dmg.pmml.Model createSoftmaxClassification(C converter, org.apache.spark.ml.linalg.Matrix coefficients, org.apache.spark.ml.linalg.Vector intercepts, org.jpmml.converter.Schema schema)