public abstract class ModelManager<M extends Model> extends PMMLManager implements Consumer
| Constructor and Description |
|---|
ModelManager() |
ModelManager(PMML pmml) |
addDataField, find, find, findAll, getDataDictionary, getDataField, getHeader, getModel, getModelManager, getModelManager, getModels, getOrCreateTransformationDictionary, getPmml, resolveFunctionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDataField, getSummarypublic ModelManager()
public ModelManager(PMML pmml)
public abstract M getModel()
public void addField(FieldName name, String displayName, OpType opType, DataType dataType, FieldUsageType fieldUsageType)
DataDictionary and MiningSchema.public List<FieldName> getActiveFields()
ConsumerModel from its MiningSchema.getActiveFields in interface ConsumergetActiveFields()public List<FieldName> getGroupFields()
ConsumerModel from its MiningSchema.
A model should have no more than 1 grouping field.getGroupFields in interface ConsumergetGroupFields()public FieldName getTargetField()
ConsumergetTargetField in interface Consumernull if it does not existgetTargetField()public List<FieldName> getPredictedFields()
ConsumerModel from its MiningSchema.getPredictedFields in interface ConsumergetPredictedFields()public List<FieldName> getMiningFields(FieldUsageType fieldUsageType)
public MiningField getMiningField(FieldName name)
ConsumerMiningSchema.getMiningField in interface ConsumerConsumer.getActiveFields(),
Consumer.getPredictedFields(),
getMiningField(FieldName)public MiningField addMiningField(FieldName name, FieldUsageType usageType)
public List<FieldName> getOutputFields()
ConsumergetOutputFields in interface ConsumergetOutputFields()public OutputField getOutputField(FieldName name)
ConsumerOutputgetOutputField in interface ConsumerConsumer.getOutputFields()public DerivedField resolveField(FieldName name)
resolveField in class PMMLManagerpublic MiningSchema getMiningSchema()
public LocalTransformations getOrCreateLocalTransformations()
public Output getOrCreateOutput()
public Targets getOrCreateTargets()
Copyright © 2013 University of Tartu. All Rights Reserved.