DEMOS


Under the folder "demo" you will find different scripts to run the library.

Demo List:

Every script is oriented to one operating system or technology:

  • demoLIBIRWLS.sh: To be executed on unix like systems (linux, OSX, ...)
  • demoLIBIRWLSWin32.bat: For 32-bit Windows operating system.
  • demoLIBIRWLSWin64.bat: For 64-bit Windows operating system.
  • demoPythonModule.py: A python script to run once the python extension has been installed.

Demo Structure:

Every script follows the same procedure:

  • The script will download the Adult dataset from the libsvm repository, and will save it under the folder "data". The file "a9a" contains the training set and the file "a9a.t" contains the test set.
  • The script will train a SVM twice (using 1 and 2 threads respectively) and it will show the run time.
  • The script will test the classifier on the test set.
  • The script will train a budgeted SVM twice (using 1 and 2 threads respectively) and it will show the run time.
  • The script will test the classifier on the test set.


Copyright © 2014-2017