Package org.jpmml.sparkml.testing
Class SparkMLEncoderBatchTest
java.lang.Object
org.jpmml.evaluator.testing.BatchTest
org.jpmml.evaluator.testing.ArchiveBatchTest
org.jpmml.converter.testing.ModelEncoderBatchTest
org.jpmml.sparkml.testing.SparkMLEncoderBatchTest
public class SparkMLEncoderBatchTest
extends org.jpmml.converter.testing.ModelEncoderBatchTest
-
Constructor Summary
ConstructorsConstructorDescriptionSparkMLEncoderBatchTest(com.google.common.base.Equivalence<Object> equivalence) -
Method Summary
Modifier and TypeMethodDescriptioncreateBatch(String algorithm, String dataset, Predicate<org.jpmml.evaluator.ResultField> columnFilter, com.google.common.base.Equivalence<Object> equivalence) static voidstatic voidstatic Predicate<org.jpmml.evaluator.ResultField>static Predicate<org.jpmml.evaluator.ResultField>excludePredictionFields(String predictionCol) org.apache.spark.sql.SparkSessionMethods inherited from class org.jpmml.converter.testing.ModelEncoderBatchTest
evaluate, evaluateMethods inherited from class org.jpmml.evaluator.testing.ArchiveBatchTest
evaluate, evaluate, evaluate, evaluate, getEquivalenceMethods inherited from class org.jpmml.evaluator.testing.BatchTest
excludeFields, excludeFields
-
Constructor Details
-
SparkMLEncoderBatchTest
public SparkMLEncoderBatchTest() -
SparkMLEncoderBatchTest
-
-
Method Details
-
getSparkSession
public org.apache.spark.sql.SparkSession getSparkSession()- See Also:
-
createBatch
public SparkMLEncoderBatch createBatch(String algorithm, String dataset, Predicate<org.jpmml.evaluator.ResultField> columnFilter, com.google.common.base.Equivalence<Object> equivalence) - Specified by:
createBatchin classorg.jpmml.evaluator.testing.ArchiveBatchTest
-
createSparkSession
public static void createSparkSession() -
destroySparkSession
public static void destroySparkSession() -
excludePredictionFields
-
excludePredictionFields
-