|
|||||||||
| 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.Binarify
public class Binarify
This operator creates new binary attributes that realise a boolean flag indicating for each value of the target attribute whether it occurs in that row/entity.
| Field Summary | |
|---|---|
static java.lang.String |
PARAMETER_TARGETATTR
|
static java.lang.String |
PARAMETER_VALUES
|
| Constructor Summary | |
|---|---|
Binarify()
|
|
| Method Summary | |
|---|---|
java.lang.String |
generateSQL(Column targetAttributeColumn)
Abstract method to be implemented by all subclasses. |
BaseAttribute |
getTheTargetAttribute(int loopNr)
All FeatureConstruction operators have a target attribute which is different from loop to loop. |
| Methods inherited from class edu.udo.cs.miningmart.operator.FeatureConstruction |
|---|
compileStatement, createStatement, execute, generateColumnForOp, getCurrentLoopNumber, getTheInputConcept, getTheOutputAttribute, getTheOutputAttribute, 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_VALUES
public static final java.lang.String PARAMETER_TARGETATTR
| Constructor Detail |
|---|
public Binarify()
| Method Detail |
|---|
public java.lang.String generateSQL(Column targetAttributeColumn)
throws M4CompilerError,
M4CompilerWarning
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.
M4CompilerWarning
public BaseAttribute getTheTargetAttribute(int loopNr)
throws M4CompilerError
getTheTargetAttribute in class FeatureConstructionloopNr - the number of the loop for which the target attribute is wanted
M4CompilerError
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||