edu.udo.cs.miningmart.operator
Class LinearScaling

java.lang.Object
  extended by edu.udo.cs.miningmart.operator.ExecutableOperator
      extended by edu.udo.cs.miningmart.operator.FeatureConstruction
          extended by edu.udo.cs.miningmart.operator.Scaling
              extended by edu.udo.cs.miningmart.operator.LinearScaling

public class LinearScaling
extends Scaling

Version:
$Id: LinearScaling.java,v 1.6 2006/09/27 14:59:55 euler Exp $
Author:
Timm Euler

Constructor Summary
LinearScaling()
           
 
Method Summary
 java.lang.String generateSQL(Column targetAttributeColumn)
          Abstract method to be implemented by all subclasses.
 Value getNewRangeMax()
           
 Value getNewRangeMin()
           
 
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

LinearScaling

public LinearScaling()
Method Detail

getNewRangeMax

public Value getNewRangeMax()
                     throws M4CompilerError
Throws:
M4CompilerError

getNewRangeMin

public Value getNewRangeMin()
                     throws M4CompilerError
Throws:
M4CompilerError

generateSQL

public java.lang.String generateSQL(Column targetAttributeColumn)
                             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 Scaling
Parameters:
targetAttributeColumn - The Column to which this FeatureConstruction Operator is applied. Some subclasses may ignore this parameter.
Returns:
An SQL definition for a scaled column.
Throws:
M4CompilerError - A simple exception object with an error message.


Copyright © 2001-2005