Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## edu.udo.cs.miningmart.operator
Class ReverseFeatureConstruction

    java.lang.Object
      edu.udo.cs.miningmart.operator.ExecutableOperator
          edu.udo.cs.miningmart.operator.FeatureConstruction
              edu.udo.cs.miningmart.operator.ReverseFeatureConstruction

    public class ReverseFeatureConstruction

extends FeatureConstruction

Author:
  euler This operator reverses the operation that constructed a feature in another step. It is a normal feature construction operator, only its method depends on the way the original feature was constructed. This operator is useful when the target values of a prediction task are changed during data preparation. This operator reverses those changes, and can therefore be used for deploying the values predicted by the learned model. For example, predicting the sales values of a shop with an SVM may require to scale the target values for training to [0..1]. Thus the SVM predicts only values between 0 and 1 when applied on unseen data. This operator then scales the values back to the original range.

Constructor Summary
`ReverseFeatureConstruction()`

Method Summary
`java.lang.String` | `generateSQL(Column targetColumn)` 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 edu.udo.cs.miningmart.operator.ExecutableOperator
`autoPrint, checkConditions, doPrint, doPrint, executeBusinessSingleValueSqlRead, executeBusinessSingleValueSqlReadL, executeBusinessSqlRead, executeBusinessSqlWrite, executeM4SingleValueSqlRead, executeM4SingleValueSqlReadL, executeM4SqlRead, executeM4SqlWrite, getArtificalColumnName, getBusinessDbms, getHighestLoopNr, getM4Db, getM4Dbms, getM4ObjectFromCache, getName, getNextM4SequenceValue, getNumberOfLoops, getOperator, getOpParamsIterator, getParameter, getParameter, getParameterObjectsOfAllLoops, getSingleParameter, getSingleParameter, getStep, giveWarningForChangedInputData, handleAssertions, isDeselectedParameter, isLoopable, isManual, isStepable, print, putM4ObjectToCache, showCreateStatement, storedProceduresAvailable`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ReverseFeatureConstruction

    public ReverseFeatureConstruction()

Method Detail

### generateSQL

    public java.lang.String generateSQL(Column targetColumn)
                                 throws M4CompilerError

  Description copied from class: `FeatureConstruction`
  Abstract method to be implemented by all subclasses. In this method the SQL definition for the Column which this operator creates is created.

  Specified by:
    `generateSQL` in class `FeatureConstruction`
  Parameters:
    `targetColumn` - The Column to which this FeatureConstruction Operator is applied. Some subclasses may ignore this parameter.
  Returns:
    An SQL definition for the newly constructed Column.
  Throws:
    `M4CompilerError` - A simple exception object with an error message.
  See Also:
    `FeatureConstruction.generateSQL(edu.udo.cs.miningmart.m4.Column)`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2005