diff options
author | Alex Leute <36964815+alex391@users.noreply.github.com> | 2024-01-17 08:12:29 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-17 07:12:29 -0600 |
commit | a01adb7bdcd10ba6f1d65c9a3bfbef571629e269 (patch) | |
tree | 8036d884fbb31ff81105b636506e5d40ce09feaf | |
parent | 4ad62d8b099d1d4b0e5dc7392b1fdf94d3198083 (diff) | |
download | spack-a01adb7bdcd10ba6f1d65c9a3bfbef571629e269.tar.gz spack-a01adb7bdcd10ba6f1d65c9a3bfbef571629e269.tar.bz2 spack-a01adb7bdcd10ba6f1d65c9a3bfbef571629e269.tar.xz spack-a01adb7bdcd10ba6f1d65c9a3bfbef571629e269.zip |
py-multi-imbalance: Added package py-multi-imbalance (#42094)
Co-authored-by: Alex C Leute <aclrc@rit.edu>
-rw-r--r-- | var/spack/repos/builtin/packages/py-multi-imbalance/package.py | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-multi-imbalance/package.py b/var/spack/repos/builtin/packages/py-multi-imbalance/package.py new file mode 100644 index 0000000000..02cdad82eb --- /dev/null +++ b/var/spack/repos/builtin/packages/py-multi-imbalance/package.py @@ -0,0 +1,33 @@ +# Copyright 2013-2023 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +from spack.package import * + + +class PyMultiImbalance(PythonPackage): + """Multi-class imbalance is a common problem occurring in real-world + supervised classifications tasks. While there has already been some + research on the specialized methods aiming to tackle that challenging + problem, most of them still lack coherent Python implementation that is + simple, intuitive and easy to use. multi-imbalance is a python package + tackling the problem of multi-class imbalanced datasets in machine + learnin""" + + homepage = "https://github.com/damianhorna/multi-imbalance" + pypi = "multi-imbalance/multi-imbalance-0.0.14.tar.gz" + + version("0.0.14", sha256="5b9e1ba5e012e0343c588fa5a4b9d69ca99464d2126f1392bac3fca24370498f") + + depends_on("py-setuptools", type="build") + depends_on("py-numpy@1.17.0:", type=("build", "run")) + depends_on("py-scikit-learn@0.22:", type=("build", "run")) + depends_on("py-pandas@0.25.1:", type=("build", "run")) + depends_on("py-pytest@5.1.2:", type=("build", "run")) + depends_on("py-imbalanced-learn@0.6.1:", type=("build", "run")) + depends_on("py-coverage@5.1:", type=("build", "run")) + depends_on("py-pytest-cov@2.8.1:", type=("build", "run")) + depends_on("py-ipython@7.13.0:", type=("build", "run")) + depends_on("py-seaborn@0.10.1:", type=("build", "run")) + depends_on("py-matplotlib@3.2.1:", type=("build", "run")) |