public class MyFilteredLearner extends Object
MyFilteredClassifier| Constructor and Description |
|---|
MyFilteredLearner() |
| Modifier and Type | Method and Description |
|---|---|
static void |
createARFF_Files(String input,
String output) |
void |
evaluate()
This method evaluates the classifier.
|
void |
learn()
This method trains the classifier on the loaded dataset.
|
void |
loadDataset(String fileName)
This method loads a dataset in ARFF format.
|
static void |
main(String[] args)
Main method.
|
void |
saveModel(String fileName)
This method saves the trained model into a file.
|
public void loadDataset(String fileName)
fileName - The name of the file that stores the dataset.public void evaluate()
public void learn()
public void saveModel(String fileName)
fileName - The name of the file that will store the trained model.public static void createARFF_Files(String input, String output) throws IOException
IOExceptionpublic static void main(String[] args) throws IOException
args - Command-line arguments: fileData and fileModel.IOExceptionCopyright © 2016. All rights reserved.