summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-varselrf/package.py
blob: 090d6d90bb3250fd4d2089e840f0d450b98254f3 (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
24
# Copyright 2013-2019 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 RVarselrf(RPackage):
    """Variable selection from random forests using both backwards variable
    elimination (for the selection of small sets of non-redundant variables)
    and selection based on the importance spectrum (somewhat similar to scree
    plots; for the selection of large, potentially highly-correlated variables)
    . Main applications in high-dimensional data (e.g., microarray data,
    and other genomics and proteomics applications)."""

    homepage = "http://ligarto.org/rdiaz/Software/Software.html"
    url      = "https://cloud.r-project.org/src/contrib/varSelRF_0.7-8.tar.gz"
    list_url = "https://cloud.r-project.org/src/contrib/Archive/varSelRF"

    version('0.7-8', sha256='719487fb560cb4733816bafe4cbc958a132674825e3b9d4f82ce8f2003cd8940')

    depends_on('r@2.0.0:', type=('build', 'run'))
    depends_on('r-randomforest', type=('build', 'run'))