Class SparkMLEncoderBatchTest


  • public class SparkMLEncoderBatchTest
    extends org.jpmml.converter.testing.ModelEncoderBatchTest
    • Constructor Detail

      • SparkMLEncoderBatchTest

        public SparkMLEncoderBatchTest()
      • SparkMLEncoderBatchTest

        public SparkMLEncoderBatchTest​(com.google.common.base.Equivalence<Object> equivalence)
    • Method Detail

      • createBatch

        public SparkMLEncoderBatch createBatch​(String algorithm,
                                               String dataset,
                                               Predicate<org.jpmml.evaluator.ResultField> columnFilter,
                                               com.google.common.base.Equivalence<Object> equivalence)
        Specified by:
        createBatch in class org.jpmml.evaluator.testing.ArchiveBatchTest
      • createSparkSession

        public static void createSparkSession()
      • destroySparkSession

        public static void destroySparkSession()
      • excludePredictionFields

        public static Predicate<org.jpmml.evaluator.ResultField> excludePredictionFields()
      • excludePredictionFields

        public static Predicate<org.jpmml.evaluator.ResultField> excludePredictionFields​(String predictionCol)