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
ConstructorsConstructorDescriptionSparkMLEncoderBatch(String algorithm, String dataset, Predicate<org.jpmml.evaluator.ResultField> columnFilter, com.google.common.base.Equivalence<Object> equivalence) -
Method Summary
Modifier and TypeMethodDescriptionabstract SparkMLEncoderBatchTestorg.dmg.pmml.PMMLgetPMML()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, validatePMMLMethods inherited from class org.jpmml.evaluator.testing.ArchiveBatch
close, getAlgorithm, getColumnFilter, getDataset, getEquivalence, getInput, getInputCsvPath, getOutput, getOutputCsvPath
-
Constructor Details
-
SparkMLEncoderBatch
-
-
Method Details
-
getArchiveBatchTest
- Specified by:
getArchiveBatchTestin classorg.jpmml.converter.testing.ModelEncoderBatch
-
getOptionsMatrix
- Overrides:
getOptionsMatrixin classorg.jpmml.converter.testing.ModelEncoderBatch
-
getPipelineModelZipPath
-
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) -
getPMML
- Specified by:
getPMMLin classorg.jpmml.converter.testing.ModelEncoderBatch- Throws:
Exception
-