summaryrefslogtreecommitdiff
path: root/math/herisvm
diff options
context:
space:
mode:
authorcheusov <cheusov@pkgsrc.org>2016-07-25 09:18:51 +0000
committercheusov <cheusov@pkgsrc.org>2016-07-25 09:18:51 +0000
commit1800ececad06cc20791a7ed5dbd3dcfe4aba951b (patch)
treeb9d1ff9acbef6dee75f5349f534d98fa077bb511 /math/herisvm
parent9a54416cca44aad43a2fa720d33aa3b105c7420d (diff)
downloadpkgsrc-1800ececad06cc20791a7ed5dbd3dcfe4aba951b.tar.gz
import herisvm-0.7.0
herisvm project is a collection of simple tools implementing evaluation algorithms for classification (machine learning). In particular heri-eval implements N-fold cross-validation where training and testing is run in parallel. This may be useful if you use multi-CPU computer.
Diffstat (limited to 'math/herisvm')
-rw-r--r--math/herisvm/DESCR5
-rw-r--r--math/herisvm/Makefile26
-rw-r--r--math/herisvm/PLIST12
-rw-r--r--math/herisvm/distinfo5
4 files changed, 48 insertions, 0 deletions
diff --git a/math/herisvm/DESCR b/math/herisvm/DESCR
new file mode 100644
index 00000000000..57f78f34028
--- /dev/null
+++ b/math/herisvm/DESCR
@@ -0,0 +1,5 @@
+herisvm project is a collection of simple tools implementing
+evaluation algorithms for classification (machine learning).
+In particular heri-eval implements N-fold cross-validation
+where training and testing is run in parallel.
+This may be useful if you use multi-CPU computer.
diff --git a/math/herisvm/Makefile b/math/herisvm/Makefile
new file mode 100644
index 00000000000..f89f99c7da5
--- /dev/null
+++ b/math/herisvm/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1 2016/07/25 09:18:51 cheusov Exp $
+
+DISTNAME= herisvm-0.7.0
+CATEGORIES= math
+MASTER_SITES= ${MASTER_SITE_GITHUB:=cheusov/}
+
+MAINTAINER= cheusov@NetBSD.org
+HOMEPAGE= https://github.com/cheusov/herisvm
+COMMENT= svm-train wrapper running cross-validation in parallel
+LICENSE= mit
+
+DEPENDS+= ${RUBY_BASE}-[0-9]*:${RUBY_SRCDIR}
+USE_TOOLS+= pod2man bash
+
+SUBST_CLASSES+= ruby
+SUBST_STAGE.ruby= pre-configure
+SUBST_FILES.ruby= scripts/*
+SUBST_SED.ruby+= -e 's|/.*ruby|${PREFIX}/bin/${RUBY_NAME}|g'
+SUBST_MESSAGE.ruby= Fixing ruby interpreter name.
+
+REPLACE_BASH= scripts/*
+
+.include "../../lang/ruby/replace.mk"
+.include "../../lang/ruby/rubyversion.mk"
+.include "../../devel/mk-configure/mk-c.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/math/herisvm/PLIST b/math/herisvm/PLIST
new file mode 100644
index 00000000000..10b65611284
--- /dev/null
+++ b/math/herisvm/PLIST
@@ -0,0 +1,12 @@
+@comment $NetBSD: PLIST,v 1.1 2016/07/25 09:18:51 cheusov Exp $
+bin/heri-eval
+bin/heri-split
+bin/heri-stat
+bin/heri-stat-addons
+man/man1/heri-eval.1
+man/man1/heri-split.1
+man/man1/heri-stat.1
+share/doc/herisvm/LICENSE
+share/doc/herisvm/NEWS
+share/doc/herisvm/README
+share/doc/herisvm/TODO
diff --git a/math/herisvm/distinfo b/math/herisvm/distinfo
new file mode 100644
index 00000000000..014c4fb1e56
--- /dev/null
+++ b/math/herisvm/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2016/07/25 09:18:51 cheusov Exp $
+
+SHA1 (herisvm-0.7.0.tar.gz) = d006fdb0298831c2f38bb62ffea453514bb4fcdf
+RMD160 (herisvm-0.7.0.tar.gz) = e40abf3d4b7b03c8f20572f83cf26bde1fabe5ef
+Size (herisvm-0.7.0.tar.gz) = 14700 bytes