public class CleanAttributes
extends java.lang.Object
This class performs the decimal scaling transformation on the data. It finds the minimum power of ten for each attribute such that dividing all the attribute values, the new values are always less than 1.0
Constructor and Description |
---|
CleanAttributes(java.lang.String fileParam)
Creates a new instance of decimal_scaling
|
Modifier and Type | Method and Description |
---|---|
void |
applyClean()
Process the training and test files provided in the parameters file to the constructor.
|
boolean |
usefulAttribute(Attribute at)
Returns true if the attribute given is useful, false otherwise.
|
public CleanAttributes(java.lang.String fileParam)
fileParam
- The path to the configuration file with all the parameters in KEEL formatpublic void applyClean()
Process the training and test files provided in the parameters file to the constructor.
public boolean usefulAttribute(Attribute at)
at
- attribute class given.