summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-boruta/package.py
blob: bc95b2c6114a6c70b01141c288109efcc131617c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Copyright 2013-2021 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 import *


class RBoruta(RPackage):
    """An all relevant feature selection wrapper algorithm. It finds
       relevant features by comparing original attributes' importance
       with importance achievable at random, estimated using their
       permuted copies (shadows).
    """

    homepage = "https://cloud.r-project.org/package=Boruta"
    url      = "https://cloud.r-project.org/src/contrib/Boruta_7.0.0.tar.gz"
    list_url = "https://cloud.r-project.org/src/contrib/Archive/Boruta"

    version('7.0.0', sha256='6ff520d27d68637058c33a34c547a656bb44d5e351b7cc7afed6cd4216275c78')
    version('6.0.0', sha256='1c9a7aabe09f040e147f6c614f5fe1d0b951d3b0f0024161fbb4c31da8fae8de')

    depends_on('r-ranger', type=('build', 'run'))