public class SparkMLEncoderBatchTest
extends org.jpmml.converter.testing.ModelEncoderBatchTest
| Constructor and Description |
|---|
SparkMLEncoderBatchTest() |
SparkMLEncoderBatchTest(com.google.common.base.Equivalence<Object> equivalence) |
| Modifier and Type | Method and Description |
|---|---|
SparkMLEncoderBatch |
createBatch(String algorithm,
String dataset,
Predicate<org.jpmml.evaluator.ResultField> columnFilter,
com.google.common.base.Equivalence<Object> equivalence) |
static void |
createSparkSession() |
static void |
destroySparkSession() |
static Predicate<org.jpmml.evaluator.ResultField> |
excludePredictionFields() |
static Predicate<org.jpmml.evaluator.ResultField> |
excludePredictionFields(String predictionCol) |
org.apache.spark.sql.SparkSession |
getSparkSession() |
evaluate, evaluate, evaluate, evaluate, getEquivalencepublic SparkMLEncoderBatchTest()
public SparkMLEncoderBatchTest(com.google.common.base.Equivalence<Object> equivalence)
public org.apache.spark.sql.SparkSession getSparkSession()
createSparkSession(),
destroySparkSession()public SparkMLEncoderBatch createBatch(String algorithm, String dataset, Predicate<org.jpmml.evaluator.ResultField> columnFilter, com.google.common.base.Equivalence<Object> equivalence)
createBatch in class org.jpmml.evaluator.testing.ArchiveBatchTestpublic static void createSparkSession()
public static void destroySparkSession()
public static Predicate<org.jpmml.evaluator.ResultField> excludePredictionFields()
Copyright © 2022. All rights reserved.