public class Nominal2Binary
extends java.lang.Object
This class performs the nominal to binary transformation. A nominal attribute is broken down into several binary ones, one per nominal value of the original attribute. These new attributes will present the '1' value if the nominal value was present, '0' otherwise.
Constructor and Description |
---|
Nominal2Binary(java.lang.String fileParam)
Creates a new instance of min_max
|
Modifier and Type | Method and Description |
---|---|
InstanceSet |
convertNominal2Binary(InstanceSet is)
Creates a new allocated KEEL's set of Instances (i.e.
|
void |
transform()
Process the training and test files provided in the parameters file to the constructor.
|
public Nominal2Binary(java.lang.String fileParam)
fileParam
- The path to the configuration file with all the parameters in KEEL formatpublic void transform()
Process the training and test files provided in the parameters file to the constructor.
public InstanceSet convertNominal2Binary(InstanceSet is)
is
- The original KEEL Instance set