Add svmlight 6.01, an implementation of Support Vector Machines (SVMs)

in C.

PR:		ports/100944
Submitted by:	Gea-Suan Lin <gslin at gslin.org>
This commit is contained in:
Cheng-Lung Sung 2006-08-01 15:07:54 +00:00
parent 975fb1d60e
commit 5eebe8264d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=169354
5 changed files with 76 additions and 0 deletions

View File

@ -81,6 +81,7 @@
SUBDIR += ruby-dcl
SUBDIR += ruby-gphys
SUBDIR += simlib
SUBDIR += svmlight
SUBDIR += szip
SUBDIR += udunits
SUBDIR += v_sim

43
science/svmlight/Makefile Normal file
View File

@ -0,0 +1,43 @@
# New ports collection makefile for: svmlight
# Date created: 2006-07-18
# Whom: Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD$
#
PORTNAME= svmlight
PORTVERSION= 6.01
CATEGORIES= science
MASTER_SITES= http://kodiak.cs.cornell.edu/svm_light/current/
DISTNAME= svm_light
PATCH_SITES= http://search.cpan.org/src/KWILLIAMS/Algorithm-SVMLight-0.05/
PATCHFILES= SVMLight.patch
MAINTAINER= gslin@gslin.org
COMMENT= An implementation of Support Vector Machines (SVMs) in C
RESTRICTED= only for education and research
INSTALLS_SHLIB= yes
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" LD="${CC}" LFLAGS="${CFLAGS}"
USE_GMAKE= yes
WRKSRC= ${WRKDIR}
post-build:
${CC} ${CFLAGS} -shared -o ${WRKSRC}/libsvmlight.so.1 ${WRKSRC}/libsvmlight.a
do-install:
.for file in svm_classify svm_learn
${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/bin
.endfor
${INSTALL_DATA} ${WRKSRC}/libsvmlight.* ${PREFIX}/lib
${LN} -s ${PREFIX}/lib/libsvmlight.so.1 ${PREFIX}/lib/libsvmlight.so
# It's license request, do not remove
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/LICENSE.txt ${DOCSDIR}
post-install:
@${CAT} ${WRKSRC}/LICENSE.txt
.include <bsd.port.mk>

View File

@ -0,0 +1,6 @@
MD5 (svm_light.tar.gz) = 22dab64a89dbb01141f87641141e75cc
SHA256 (svm_light.tar.gz) = 213177ac93b60055439f0b6742d4b4e728e4401f017b8facbe2e808d4143fb11
SIZE (svm_light.tar.gz) = 50121
MD5 (SVMLight.patch) = 53426a955bfbdaa0c0a03390df6e2f35
SHA256 (SVMLight.patch) = 926f6043d43ec174c419fe58ecf291711949daa3d4da89783a8f8cf572e09357
SIZE (SVMLight.patch) = 10557

View File

@ -0,0 +1,18 @@
SVMlight is an implementation of Vapnik's Support Vector Machine
[Vapnik, 1995] for the problem of pattern recognition, for the problem
of regression, and for the problem of learning a ranking function. The
optimization algorithms used in SVMlight are described in [Joachims,
2002a ]. [Joachims, 1999a]. The algorithm has scalable memory
requirements and can handle problems with many thousands of support
vectors efficiently.
The software also provides methods for assessing the generalization
performance efficiently. It includes two efficient estimation methods
for both error rate and precision/recall. XiAlpha-estimates [Joachims,
2002a, Joachims, 2000b] can be computed at essentially no
computational expense, but they are conservatively biased. Almost
unbiased estimates provides leave-one-out testing. SVMlight exploits
that the results of most leave-one-outs (often more than 99%) are
predetermined and need not be computed [Joachims, 2002a].
WWW: http://svmlight.joachims.org/

View File

@ -0,0 +1,8 @@
@comment $FreeBSD$
bin/svm_classify
bin/svm_learn
lib/libsvmlight.a
lib/libsvmlight.so
lib/libsvmlight.so.1
%%DOCSDIR%%/LICENSE.txt
@dirrm %%DOCSDIR%%