Skip to content
Marcelo S. Reis edited this page Jul 12, 2017 · 7 revisions

Unit tests

To run the test program, make test and type:

> bin/featselTest

It should run all the tests automatically, displaying the results into the standard output. If everything is ok, then the command above should run successfully all tests (in the release 1.2, 121 unit tests).

Performance tests

To run benchmarking tests against Weka, you should first set a variable WEKAINSTALL on your environment to be the directory of your weka.jar file. For instance, if that file is located within /usr/share/java, then you need to run on the terminal a command like this:

> export WEKAINSTALL="/usr/share/java"

For Weka versions 3.7.2 and higher you also need to download the attribute selection search methods package and extract the file attributeSelectionSearchMethods.jar to your WEKAINSTALL directory.

Then, you should be able to run the benchmarking by typing:

> bin/compare_featsel_against_Weka.pl

This script runs featsel and Weka, alternately, against several data sets obtained from the UCI Machine Learning Repository.

Clone this wiki locally