summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/r-boruta/package.py23
1 files changed, 23 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-boruta/package.py b/var/spack/repos/builtin/packages/r-boruta/package.py
new file mode 100644
index 0000000000..45b4f22d57
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-boruta/package.py
@@ -0,0 +1,23 @@
+# 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 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'))