public abstract class PMMLConditionTranslator extends Object
PMMLDecisionTreeTranslator
from wenlin, Zementis Inc., Apr 2011, now, that is a subclass.Modifier and Type | Field and Description |
---|---|
protected DerivedFieldMapper |
m_nameMapper
The
DerivedFieldMapper . |
Constructor and Description |
---|
PMMLConditionTranslator()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
protected abstract PMMLCompoundPredicate |
newCompoundPredicate(String operator) |
protected abstract PMMLSimplePredicate |
newSimplePredicate(String field,
String operator,
String value) |
protected PMMLCompoundPredicate |
parseCompoundPredicate(org.dmg.pmml.CompoundPredicateDocument.CompoundPredicate xmlCompoundPredicate)
Create a KNIME compound predicate from a PMML compound predicate.
|
protected PMMLPredicate |
parseSimplePredicate(org.dmg.pmml.SimplePredicateDocument.SimplePredicate xmlSimplePredicate)
Create a KNIME simple predicate from a PMML simple predicate.
|
protected PMMLPredicate |
parseSimpleSetPredicate(org.dmg.pmml.SimpleSetPredicateDocument.SimpleSetPredicate xmlSimpleSetPredicate)
Create a KNIME simple set predicate from a PMML simple set predicate.
|
protected DerivedFieldMapper m_nameMapper
DerivedFieldMapper
.protected PMMLCompoundPredicate parseCompoundPredicate(org.dmg.pmml.CompoundPredicateDocument.CompoundPredicate xmlCompoundPredicate)
xmlCompoundPredicate
- the PMML Compound Predicate elementprotected abstract PMMLCompoundPredicate newCompoundPredicate(String operator)
operator
- The String
representation of the operator name.PMMLCompoundPredicate
implementation with operator
set.protected PMMLPredicate parseSimpleSetPredicate(org.dmg.pmml.SimpleSetPredicateDocument.SimpleSetPredicate xmlSimpleSetPredicate)
xmlSimpleSetPredicate
- the PMML simple set predicate elementprotected PMMLPredicate parseSimplePredicate(org.dmg.pmml.SimplePredicateDocument.SimplePredicate xmlSimplePredicate)
xmlSimplePredicate
- the PMML simple predicate elementprotected abstract PMMLSimplePredicate newSimplePredicate(String field, String operator, String value)
field
- The name of the column.operator
- The String
representation of the operator name.value
- The value to compare to, can be null
when we want to check for missing/non-missing values.PMMLSimplePredicate
implementation with operator
set.
KNIME GmbH, Konstanz, Germany
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the copyright owner or as specified in the license file distributed with this product.