public class ModelManager<M extends org.dmg.pmml.Model> extends PMMLManager implements Consumer
| Constructor and Description |
|---|
ModelManager(org.dmg.pmml.PMML pmml,
M model) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<org.dmg.pmml.FieldName> |
getActiveFields()
Gets the independent (ie.
|
java.util.List<org.dmg.pmml.FieldName> |
getGroupFields()
Gets the grouping fields of a
Model from its MiningSchema. |
org.dmg.pmml.DerivedField |
getLocalDerivedField(org.dmg.pmml.FieldName name) |
org.dmg.pmml.MiningField |
getMiningField(org.dmg.pmml.FieldName name)
Gets the definition of a field from the
MiningSchema. |
org.dmg.pmml.MiningSchema |
getMiningSchema() |
M |
getModel() |
org.dmg.pmml.LocalTransformations |
getOrCreateLocalTransformations() |
org.dmg.pmml.Output |
getOrCreateOutput() |
org.dmg.pmml.Targets |
getOrCreateTargets() |
org.dmg.pmml.OutputField |
getOutputField(org.dmg.pmml.FieldName name)
Gets the definition of a field from the
Output |
java.util.List<org.dmg.pmml.FieldName> |
getOutputFields()
Gets the output fields of a
Model from its Output. |
java.lang.String |
getSummary()
Returns a short description of the underlying
Model |
org.dmg.pmml.Target |
getTarget(org.dmg.pmml.FieldName name) |
org.dmg.pmml.FieldName |
getTargetField()
Convenience method for retrieving the sole target field.
|
java.util.List<org.dmg.pmml.FieldName> |
getTargetFields()
Gets the dependent (ie.
|
org.dmg.pmml.DerivedField |
resolveDerivedField(org.dmg.pmml.FieldName name) |
find, find, findAll, getDataDictionary, getDataField, getDerivedField, getFunction, getHeader, getModel, getModelManager, getModels, getOrCreateTransformationDictionary, getPMMLclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDataFieldpublic ModelManager(org.dmg.pmml.PMML pmml,
M model)
public M getModel()
public java.lang.String getSummary()
ConsumerModelgetSummary in interface Consumerpublic java.util.List<org.dmg.pmml.FieldName> getActiveFields()
ConsumerModel from its MiningSchema.getActiveFields in interface Consumerpublic java.util.List<org.dmg.pmml.FieldName> getGroupFields()
ConsumerModel from its MiningSchema.
A model should have no more than 1 grouping field.getGroupFields in interface Consumerpublic java.util.List<org.dmg.pmml.FieldName> getTargetFields()
ConsumerModel from its MiningSchema.getTargetFields in interface Consumerpublic org.dmg.pmml.FieldName getTargetField()
ConsumergetTargetField in interface Consumernull if it does not existConsumer.getTargetFields()public org.dmg.pmml.MiningField getMiningField(org.dmg.pmml.FieldName name)
ConsumerMiningSchema.getMiningField in interface ConsumerConsumer.getActiveFields(),
Consumer.getGroupFields(),
Consumer.getTargetFields()public org.dmg.pmml.DerivedField getLocalDerivedField(org.dmg.pmml.FieldName name)
public org.dmg.pmml.DerivedField resolveDerivedField(org.dmg.pmml.FieldName name)
public org.dmg.pmml.OutputField getOutputField(org.dmg.pmml.FieldName name)
ConsumerOutputgetOutputField in interface ConsumerConsumer.getOutputFields()public java.util.List<org.dmg.pmml.FieldName> getOutputFields()
ConsumerModel from its Output.getOutputFields in interface Consumerpublic org.dmg.pmml.Target getTarget(org.dmg.pmml.FieldName name)
public org.dmg.pmml.MiningSchema getMiningSchema()
public org.dmg.pmml.LocalTransformations getOrCreateLocalTransformations()
public org.dmg.pmml.Output getOrCreateOutput()
public org.dmg.pmml.Targets getOrCreateTargets()
Copyright © 2014. All Rights Reserved.