Permalink
Browse files

LIBSVM Plus 2.9

  • Loading branch information...
0 parents commit 9b87d3dd372cf3b7cb7064a55bbb656edee2f773 @vincenzo committed Jan 26, 2010
Showing with 6,225 additions and 0 deletions.
  1. +30 −0 COPYRIGHT
  2. +19 −0 Makefile
  3. +652 −0 README
  4. +72 −0 README.plus
  5. +147 −0 py-tools/README
  6. +27 −0 py-tools/README.plus
  7. +106 −0 py-tools/checkdata.py
  8. +19 −0 py-tools/dense2sparse.py
  9. +82 −0 py-tools/easy.py
  10. +371 −0 py-tools/grid.py
  11. +35 −0 py-tools/sparse2dense.py
  12. +146 −0 py-tools/subset.py
  13. +226 −0 svm-predict.c
  14. +353 −0 svm-scale.c
  15. +378 −0 svm-train.c
  16. +3,403 −0 svm.cpp
  17. +159 −0 svm.h
@@ -0,0 +1,30 @@
+Copyright (c) 2000-2009 Chih-Chung Chang and Chih-Jen Lin
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+
+3. Neither name of copyright holders nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR
+CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,19 @@
+CXX? = g++
+CFLAGS = -Wall -Wconversion -O3 -fPIC
+SHVER = 1
+
+all: svm-train svm-predict svm-scale
+
+lib: svm.o
+ $(CXX) -shared svm.o -o libsvm.so.$(SHVER)
+
+svm-predict: svm-predict.c svm.o
+ $(CXX) $(CFLAGS) svm-predict.c svm.o -o svm-predict -lm
+svm-train: svm-train.c svm.o
+ $(CXX) $(CFLAGS) svm-train.c svm.o -o svm-train -lm
+svm-scale: svm-scale.c
+ $(CXX) $(CFLAGS) svm-scale.c -o svm-scale
+svm.o: svm.cpp svm.h
+ $(CXX) $(CFLAGS) -c svm.cpp
+clean:
+ rm -f *~ svm.o svm-train svm-predict svm-scale
Oops, something went wrong.

0 comments on commit 9b87d3d

Please sign in to comment.