aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-01-28 23:09:24 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-01-28 23:26:35 +0000
commitc6f3b6e936d2e6d12a26d0bc70773b05ae22a4cf (patch)
tree1fe094c734d8028e95d4568cbae61246d6e1f6c4
parent7ae57c39257d8456f5cf5f1902e82c5a55f8f73d (diff)
science/py-sklearn-pandas: Add py-sklearn-pandas 2.2.0
This module provides a bridge between Scikit-Learn's machine learning methods and pandas-style Data Frames. In particular, it provides a way to map DataFrame columns to transformations, which are later recombined into features. WWW: https://github.com/scikit-learn-contrib/sklearn-pandas
-rw-r--r--science/Makefile1
-rw-r--r--science/py-sklearn-pandas/Makefile26
-rw-r--r--science/py-sklearn-pandas/distinfo3
-rw-r--r--science/py-sklearn-pandas/pkg-descr5
4 files changed, 35 insertions, 0 deletions
diff --git a/science/Makefile b/science/Makefile
index a5cb7726def3..ca86bf1d234c 100644
--- a/science/Makefile
+++ b/science/Makefile
@@ -331,6 +331,7 @@
SUBDIR += py-scoria
SUBDIR += py-segregation
SUBDIR += py-segyio
+ SUBDIR += py-sklearn-pandas
SUBDIR += py-skrebate
SUBDIR += py-spaghetti
SUBDIR += py-spglib
diff --git a/science/py-sklearn-pandas/Makefile b/science/py-sklearn-pandas/Makefile
new file mode 100644
index 000000000000..0ef910ff4119
--- /dev/null
+++ b/science/py-sklearn-pandas/Makefile
@@ -0,0 +1,26 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME= sklearn-pandas
+PORTVERSION= 2.2.0
+CATEGORIES= science python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Pandas integration with sklearn
+
+LICENSE= BSD2CLAUSE ZLIB
+LICENSE_COMB= multi
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.18.1,1:math/py-numpy@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pandas>=1.1.4,1:math/py-pandas@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}scikit-learn>=0.23.0:science/py-scikit-learn@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}scipy>=1.5.1:science/py-scipy@${PY_FLAVOR}
+
+USES= python:3.7+
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/science/py-sklearn-pandas/distinfo b/science/py-sklearn-pandas/distinfo
new file mode 100644
index 000000000000..c476ffbffe3a
--- /dev/null
+++ b/science/py-sklearn-pandas/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1643382488
+SHA256 (sklearn-pandas-2.2.0.tar.gz) = bf908ea0e384e132da04355c7db67bd4f8efe145f0c9cd9f14726ce899d27542
+SIZE (sklearn-pandas-2.2.0.tar.gz) = 17358
diff --git a/science/py-sklearn-pandas/pkg-descr b/science/py-sklearn-pandas/pkg-descr
new file mode 100644
index 000000000000..ee430561a9c8
--- /dev/null
+++ b/science/py-sklearn-pandas/pkg-descr
@@ -0,0 +1,5 @@
+This module provides a bridge between Scikit-Learn's machine learning methods
+and pandas-style Data Frames. In particular, it provides a way to map DataFrame
+columns to transformations, which are later recombined into features.
+
+WWW: https://github.com/scikit-learn-contrib/sklearn-pandas