public class FeatureMapper
extends org.jpmml.converter.PMMLMapper
| Constructor and Description |
|---|
FeatureMapper(org.apache.spark.sql.types.StructType schema) |
| Modifier and Type | Method and Description |
|---|---|
void |
append(FeatureConverter<?> converter) |
org.dmg.pmml.DataField |
createDataField(org.dmg.pmml.FieldName name) |
org.jpmml.converter.Schema |
createSchema(org.apache.spark.ml.Model<?> model) |
List<org.jpmml.converter.Feature> |
getFeatures(String column) |
List<org.jpmml.converter.Feature> |
getFeatures(String column,
int[] indices) |
org.jpmml.converter.Feature |
getOnlyFeature(String column) |
public void append(FeatureConverter<?> converter)
public org.jpmml.converter.Schema createSchema(org.apache.spark.ml.Model<?> model)
public org.jpmml.converter.Feature getOnlyFeature(String column)
public org.dmg.pmml.DataField createDataField(org.dmg.pmml.FieldName name)
Copyright © 2016. All Rights Reserved.