org.opentox.algorithm.dataprocessing
Class DataCleanUp

java.lang.Object
  extended by org.opentox.algorithm.dataprocessing.DataCleanUp
All Implemented Interfaces:
IPreprocessing

public class DataCleanUp
extends java.lang.Object
implements IPreprocessing

Version:
1.3.3 (Last update: Dec 20, 2009)
Author:
OpenTox - http://www.opentox.org/, Sopasakis Pantelis, Kolotouros Dimitris, Sarimveis Harry

Constructor Summary
DataCleanUp()
           
 
Method Summary
static void removeStringAtts(weka.core.Instances data)
           
static weka.core.Instances scale(weka.core.Instances data)
          Scales the data producing a dataset whose values lie within [-1,1]
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataCleanUp

public DataCleanUp()
Method Detail

scale

public static weka.core.Instances scale(weka.core.Instances data)
Scales the data producing a dataset whose values lie within [-1,1]

Parameters:
data -
Returns:
the scaled Instances.

removeStringAtts

public static void removeStringAtts(weka.core.Instances data)