Package org.jpmml.sparkml.testing
Class SparkMLEncoderBatch
- java.lang.Object
-
- org.jpmml.evaluator.testing.ArchiveBatch
-
- org.jpmml.converter.testing.ModelEncoderBatch
-
- org.jpmml.sparkml.testing.SparkMLEncoderBatch
-
- All Implemented Interfaces:
AutoCloseable,org.jpmml.evaluator.testing.Batch
public abstract class SparkMLEncoderBatch extends org.jpmml.converter.testing.ModelEncoderBatch
-
-
Constructor Summary
Constructors Constructor Description SparkMLEncoderBatch(String algorithm, String dataset, Predicate<org.jpmml.evaluator.ResultField> columnFilter, com.google.common.base.Equivalence<Object> equivalence)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract SparkMLEncoderBatchTestgetArchiveBatchTest()List<Map<String,Object>>getOptionsMatrix()StringgetPipelineModelZipPath()org.dmg.pmml.PMMLgetPMML()StringgetSchemaJsonPath()org.apache.spark.sql.Dataset<org.apache.spark.sql.Row>getVerificationDataset(org.apache.spark.sql.Dataset<org.apache.spark.sql.Row> inputDataset)-
Methods inherited from class org.jpmml.converter.testing.ModelEncoderBatch
getEvaluator, getEvaluatorBuilder, getOptions, getValidators, open, setOptions, validatePMML
-
-
-
-
Method Detail
-
getArchiveBatchTest
public abstract SparkMLEncoderBatchTest getArchiveBatchTest()
- Specified by:
getArchiveBatchTestin classorg.jpmml.converter.testing.ModelEncoderBatch
-
getOptionsMatrix
public List<Map<String,Object>> getOptionsMatrix()
- Overrides:
getOptionsMatrixin classorg.jpmml.converter.testing.ModelEncoderBatch
-
getPipelineModelZipPath
public String getPipelineModelZipPath()
-
getSchemaJsonPath
public String getSchemaJsonPath()
-
getVerificationDataset
public org.apache.spark.sql.Dataset<org.apache.spark.sql.Row> getVerificationDataset(org.apache.spark.sql.Dataset<org.apache.spark.sql.Row> inputDataset)
-
-