|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.udo.cs.miningmart.operator.ExecutableOperator
edu.udo.cs.miningmart.operator.FeatureConstruction
edu.udo.cs.miningmart.operator.MergeAttributes
public class MergeAttributes
This operator merges two attributes. It is intended for sparsely populated attributes (with many NULL values, say at least 95 per cent). The target attribute is merged with the 'AttributeToMerge'. Whereever one attribute has a value while the other has NULL, the value appears in the output attribute. Whereever both attributes have a value, either the target attribute wins, or a new value is introduced that represents this combination of values. This depends on the entry in parameter 'ClashResolvation'. The attributes to be merged must be CATEGORIAL; numeric attributes have to be discretised first.
| Field Summary | |
|---|---|
static java.lang.String |
PARAMETER_CLASH_RESOLVE
|
static java.lang.String |
PARAMETER_MERGE_ATTRIB
|
| Constructor Summary | |
|---|---|
MergeAttributes()
|
|
| Method Summary | |
|---|---|
java.lang.String |
generateSQL(Column targetAttributeColumn)
Abstract method to be implemented by all subclasses. |
| Methods inherited from class edu.udo.cs.miningmart.operator.FeatureConstruction |
|---|
compileStatement, createStatement, execute, generateColumnForOp, getCurrentLoopNumber, getTheInputConcept, getTheOutputAttribute, getTheOutputAttribute, getTheTargetAttribute, getTheTargetAttribute, load, writeResults |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PARAMETER_MERGE_ATTRIB
public static final java.lang.String PARAMETER_CLASH_RESOLVE
| Constructor Detail |
|---|
public MergeAttributes()
| Method Detail |
|---|
public java.lang.String generateSQL(Column targetAttributeColumn)
throws M4CompilerError
FeatureConstruction
generateSQL in class FeatureConstructiontargetAttributeColumn - The Column to which this FeatureConstruction Operator
is applied. Some subclasses may ignore this parameter.
M4CompilerError - A simple exception object with an error message.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||