aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-04-25 20:11:26 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-04-25 20:35:07 +0000
commita15ff33a682545cfdd76f7c545d7da95b462d271 (patch)
treec8937a0f3c5c5160628f37478b109153b10dfaae
parentf3ca692f8b5af33cc9796da5333562c828021243 (diff)
science/py-skrebate: Add py-skrebate 0.62
This package includes a scikit-learn-compatible Python implementation of ReBATE, a suite of Relief-based feature selection algorithms for Machine Learning. These Relief-Based algorithms (RBAs) are designed for feature weighting/selection as part of a machine learning pipeline (supervised learning). Presently this includes the following core RBAs: ReliefF, SURF, SURF*, MultiSURF*, and MultiSURF. Additionally, an implementation of the iterative TuRF mechanism and VLSRelief is included. WWW: https://github.com/EpistasisLab/scikit-rebate
-rw-r--r--science/Makefile1
-rw-r--r--science/py-skrebate/Makefile24
-rw-r--r--science/py-skrebate/distinfo3
-rw-r--r--science/py-skrebate/pkg-descr9
4 files changed, 37 insertions, 0 deletions
diff --git a/science/Makefile b/science/Makefile
index 24c2e04d14c0..03a8a852d714 100644
--- a/science/Makefile
+++ b/science/Makefile
@@ -292,6 +292,7 @@
SUBDIR += py-scoria
SUBDIR += py-segregation
SUBDIR += py-segyio
+ SUBDIR += py-skrebate
SUBDIR += py-spaghetti
SUBDIR += py-spglib
SUBDIR += py-tensorflow
diff --git a/science/py-skrebate/Makefile b/science/py-skrebate/Makefile
new file mode 100644
index 000000000000..40a43c5924ec
--- /dev/null
+++ b/science/py-skrebate/Makefile
@@ -0,0 +1,24 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME= skrebate
+PORTVERSION= 0.62
+CATEGORIES= science python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Relief-based feature selection algorithms
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}scikit-learn>=0:science/py-scikit-learn@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}scipy>=0:science/py-scipy@${PY_FLAVOR}
+
+USES= python:3.6+
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/science/py-skrebate/distinfo b/science/py-skrebate/distinfo
new file mode 100644
index 000000000000..44f2074cd6b6
--- /dev/null
+++ b/science/py-skrebate/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1619198369
+SHA256 (skrebate-0.62.tar.gz) = b20dad4dc52f650e1f7960151314840f34251222cae0a78ac23d9f6d377ca558
+SIZE (skrebate-0.62.tar.gz) = 19835
diff --git a/science/py-skrebate/pkg-descr b/science/py-skrebate/pkg-descr
new file mode 100644
index 000000000000..2006c2996184
--- /dev/null
+++ b/science/py-skrebate/pkg-descr
@@ -0,0 +1,9 @@
+This package includes a scikit-learn-compatible Python implementation of ReBATE,
+a suite of Relief-based feature selection algorithms for Machine Learning. These
+Relief-Based algorithms (RBAs) are designed for feature weighting/selection as
+part of a machine learning pipeline (supervised learning). Presently this
+includes the following core RBAs: ReliefF, SURF, SURF*, MultiSURF*, and
+MultiSURF. Additionally, an implementation of the iterative TuRF mechanism and
+VLSRelief is included.
+
+WWW: https://github.com/EpistasisLab/scikit-rebate