datapreparation.weighting
Class Weighting

java.lang.Object
  extended by control.Operation
      extended by datapreparation.TextOperation
          extended by datapreparation.weighting.Weighting

public class Weighting
extends TextOperation

Class implementing the weighting operation. Currently only TfIdf weighting present.

Author:
Kjell-Inge Skogstad and Trond Řivind Eriksen

Constructor Summary
Weighting()
           
 
Method Summary
 java.util.ArrayList getProperties()
          Method for getting the properties.
 void performOperation(DataSet dataSet)
          Method for performing the operation.
 void setProperties(java.util.ArrayList properties)
          Method for setting the properties.
 
Methods inherited from class control.Operation
getLogResult, setLogResult
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Weighting

public Weighting()
Method Detail

performOperation

public void performOperation(DataSet dataSet)
Method for performing the operation.

Specified by:
performOperation in class Operation
Parameters:
dataSet - The dataset

getProperties

public java.util.ArrayList getProperties()
Method for getting the properties.

Specified by:
getProperties in class Operation
Returns:
List of properties

setProperties

public void setProperties(java.util.ArrayList properties)
Method for setting the properties.

Specified by:
setProperties in class Operation
Parameters:
properties - List of properties