summaryrefslogtreecommitdiff
path: root/math/svmlin
diff options
context:
space:
mode:
authorcheusov <cheusov@pkgsrc.org>2016-07-30 15:13:57 +0000
committercheusov <cheusov@pkgsrc.org>2016-07-30 15:13:57 +0000
commit12dbd510a8e00d0256f8123092ab1fe091caa6af (patch)
tree79955d2cbaf9613aeee119fc5a7cd7b2b348a0ea /math/svmlin
parent4bf565f5d2fadf5833b687cc16e4684cb4ed2f51 (diff)
downloadpkgsrc-12dbd510a8e00d0256f8123092ab1fe091caa6af.tar.gz
Import svmlin, semi-supervised machine learning tool
Diffstat (limited to 'math/svmlin')
-rw-r--r--math/svmlin/DESCR15
-rw-r--r--math/svmlin/Makefile19
-rw-r--r--math/svmlin/PLIST2
-rw-r--r--math/svmlin/distinfo6
-rw-r--r--math/svmlin/files/mkc_makefile4
5 files changed, 46 insertions, 0 deletions
diff --git a/math/svmlin/DESCR b/math/svmlin/DESCR
new file mode 100644
index 00000000000..946d6e73103
--- /dev/null
+++ b/math/svmlin/DESCR
@@ -0,0 +1,15 @@
+SVMlin is software package for linear SVMs. It is well-suited to
+classification problems involving a large number of examples and features.
+It is primarily written for sparse datasets.
+
+SVMlin can also utilize unlabeled data, in addition to labeled examples.
+It currently implements two extensions of standard SVMs to incorporate
+unlabeled examples.
+
+SVMlin implements the following algorithms:
+ - Fully supervised [using only labeled examples]
+ * Linear Regularized Least Squares (RLS) Classification
+ * Modified Finite Newton Linear L2-SVMs
+ - Semi-supervised [can use unlabeled data as well]
+ * Linear Transductive L2-SVMs with multiple switchings
+ * Deterministic Annealing (DA) for Semi-supervised Linear L2-SVMs
diff --git a/math/svmlin/Makefile b/math/svmlin/Makefile
new file mode 100644
index 00000000000..67198af0751
--- /dev/null
+++ b/math/svmlin/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2016/07/30 15:13:57 cheusov Exp $
+
+DISTNAME= svmlin-v1.0
+PKGNAME= ${DISTNAME:S/-v/-/}
+CATEGORIES= math
+MASTER_SITES= http://vikas.sindhwani.org/
+
+MAINTAINER= cheusov@NetBSD.org
+HOMEPAGE= http://vikas.sindhwani.org/
+COMMENT= Fast Linear SVM Solvers for Supervised and Semi-supervised Learning
+LICENSE= gnu-gpl-v2
+
+USE_LANGUAGES= c++
+
+post-extract:
+ cp "${FILESDIR}/mkc_makefile" "${WRKSRC}"/Makefile
+
+.include "../../devel/mk-configure/mk-c.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/math/svmlin/PLIST b/math/svmlin/PLIST
new file mode 100644
index 00000000000..670cfce920d
--- /dev/null
+++ b/math/svmlin/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2016/07/30 15:13:57 cheusov Exp $
+bin/svmlin
diff --git a/math/svmlin/distinfo b/math/svmlin/distinfo
new file mode 100644
index 00000000000..2c4229ffada
--- /dev/null
+++ b/math/svmlin/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2016/07/30 15:13:57 cheusov Exp $
+
+SHA1 (svmlin-v1.0.tar.gz) = 9032ee31d942ee85650c8b3ae43e8ab3a6486791
+RMD160 (svmlin-v1.0.tar.gz) = 730132b7c06e67436222abf88935570d9e425e7f
+SHA512 (svmlin-v1.0.tar.gz) = f2438714924dd93ad2de8be71397800838d77044624263c26903faa9bd18dbe657a2d3e600016df8b5ee1f7daee11dd0b38b06b6e921ab03511fd89f4a268b32
+Size (svmlin-v1.0.tar.gz) = 1068173 bytes
diff --git a/math/svmlin/files/mkc_makefile b/math/svmlin/files/mkc_makefile
new file mode 100644
index 00000000000..4f44bf2ee76
--- /dev/null
+++ b/math/svmlin/files/mkc_makefile
@@ -0,0 +1,4 @@
+PROG = svmlin
+SRCS = svmlin.cpp ssl.cpp
+
+.include <mkc.mk>