[Scipy-svn] r2071 - trunk/Lib/sandbox/svm

scipy-svn at scipy.org scipy-svn at scipy.org
Mon Jul 10 18:09:36 EDT 2006


Author: fullung
Date: 2006-07-10 17:09:29 -0500 (Mon, 10 Jul 2006)
New Revision: 2071

Modified:
   trunk/Lib/sandbox/svm/README
Log:
Howto for getting the test suite to run.


Modified: trunk/Lib/sandbox/svm/README
===================================================================
--- trunk/Lib/sandbox/svm/README	2006-07-10 22:05:57 UTC (rev 2070)
+++ trunk/Lib/sandbox/svm/README	2006-07-10 22:09:29 UTC (rev 2071)
@@ -8,3 +8,39 @@
 For more information, see:
 
 http://students.ee.sun.ac.za/~albert/pylibsvm/
+
+
+To run the test suite, do the following:
+
+1. Build the libsvm_ library in the libsvm-2.82 directory.
+
+On Windows:
+
+Start the Visual Studio .NET 2003 Command Prompt
+cd libsvm-2.82
+nmake -f Makefile.win
+copy libsvm_.dll ..
+
+On Linux:
+
+cd libsvm-2.82
+scons
+cp libsvm_.so ..
+
+2. Run the tests in the tests directory.
+
+On Windows:
+
+cd tests
+set PYTHONPATH=..;..\..
+test_classification.py
+...
+test_all.py
+
+On Linux:
+
+cd tests
+export PYTHONPATH=..:../..
+python test_classification.py
+...
+python test_all.py




More information about the Scipy-svn mailing list