summaryrefslogtreecommitdiff
path: root/math/ranger
diff options
context:
space:
mode:
authorcheusov <cheusov@pkgsrc.org>2016-08-19 20:24:36 +0000
committercheusov <cheusov@pkgsrc.org>2016-08-19 20:24:36 +0000
commitd09fa94432e7ab697a1e60ad765804c93ebcdddb (patch)
treefb17b505c3c2fd4950546e3a32b3af6db3305f7b /math/ranger
parentf18a87aa620885497f760f9e84088e79095fe6e5 (diff)
downloadpkgsrc-d09fa94432e7ab697a1e60ad765804c93ebcdddb.tar.gz
Importing math/ranger
Ranger is a fast implementation of random forest (Breiman 2001) or recursive partitioning, particularly suited for high dimensional data. Classification, regression, probability estimation and survival forests are supported. Classification and regression forests are implemented as in the original Random Forest (Breiman 2001), survival forests as in Random Survival Forests (Ishwaran et al. 2008). For probability estimation forests see Malley et al. (2012).
Diffstat (limited to 'math/ranger')
-rw-r--r--math/ranger/DESCR7
-rw-r--r--math/ranger/Makefile22
-rw-r--r--math/ranger/PLIST2
-rw-r--r--math/ranger/distinfo6
4 files changed, 37 insertions, 0 deletions
diff --git a/math/ranger/DESCR b/math/ranger/DESCR
new file mode 100644
index 00000000000..b8ce117ddb9
--- /dev/null
+++ b/math/ranger/DESCR
@@ -0,0 +1,7 @@
+Ranger is a fast implementation of random forest (Breiman 2001) or
+recursive partitioning, particularly suited for high dimensional
+data. Classification, regression, probability estimation and survival
+forests are supported. Classification and regression forests are
+implemented as in the original Random Forest (Breiman 2001), survival
+forests as in Random Survival Forests (Ishwaran et al. 2008). For
+probability estimation forests see Malley et al. (2012).
diff --git a/math/ranger/Makefile b/math/ranger/Makefile
new file mode 100644
index 00000000000..5cde926d0ce
--- /dev/null
+++ b/math/ranger/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2016/08/19 20:24:36 cheusov Exp $
+
+DISTNAME= ranger-0.4.2
+CATEGORIES= math
+MASTER_SITES= ${MASTER_SITE_GITHUB:=imbs-hl/}
+
+MAINTAINER= cheusov@NetBSD.org
+HOMEPAGE= https://github.com/imbs-hl/ranger
+COMMENT= Fast Implementation of Random Forests
+LICENSE= gnu-gpl-v3
+
+WRKSRC= ${WRKDIR}/${DISTNAME}/source
+USE_LANGUAGES= c c++
+USE_CMAKE= yes
+
+INSTALLATION_DIRS+= bin
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/ranger ${DESTDIR}${PREFIX}/bin
+
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/math/ranger/PLIST b/math/ranger/PLIST
new file mode 100644
index 00000000000..692f1e3f3f9
--- /dev/null
+++ b/math/ranger/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2016/08/19 20:24:36 cheusov Exp $
+bin/ranger
diff --git a/math/ranger/distinfo b/math/ranger/distinfo
new file mode 100644
index 00000000000..77ec38aa727
--- /dev/null
+++ b/math/ranger/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2016/08/19 20:24:36 cheusov Exp $
+
+SHA1 (ranger-0.4.2.tar.gz) = e79ebd740b6810747ab740f944d344f10ec3b230
+RMD160 (ranger-0.4.2.tar.gz) = 7e1b8a1dd4090b18bc47eb4240dad9865e518d87
+SHA512 (ranger-0.4.2.tar.gz) = 1fe97f6986ea7d805efc7c0524aeef5fd86a191c00664a762e3c032e849c26c5ea6e7e3d0688a0b55a01d7349c789440843d4d244fa18b877d655bdbae49f736
+Size (ranger-0.4.2.tar.gz) = 13998218 bytes