public class KeelToWeka extends Exporter
KeelToWeka
This class extends from the Exporter class. It is used to read data with KEEL format and transform them to the Weka format.Constructor and Description |
---|
KeelToWeka()
KeelToWeka class Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
Save(java.lang.String pathnameOutput)
Method that creates the output file with Weka format given as parameter
using all the structures built by the start method of the Exporter class.
|
void |
Start(java.lang.String pathnameInput,
java.lang.String pathnameOutput)
Method used to transform the data from the KEEL file given as parameter to
Weka format file which will be stored in the second file given.
|
public KeelToWeka()
public void Start(java.lang.String pathnameInput, java.lang.String pathnameOutput) throws java.lang.Exception
pathnameInput
- KEEL file path.pathnameOutput
- Weka file path.java.lang.Exception
- if the files can not be read or written.public void Save(java.lang.String pathnameOutput) throws java.lang.Exception
pathnameOutput
- Weka file path to generate.java.lang.Exception
- if the file can not be written.