spack/var/spack/repos/builtin/packages/r-randomforest/package.py

18 lines
634 B
Python
Raw Normal View History

# Copyright 2013-2018 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 *
2017-01-08 08:28:52 +08:00
class RRandomforest(RPackage):
"""Classification and regression based on a forest of trees using random
inputs."""
homepage = "https://www.stat.berkeley.edu/~breiman/RandomForests/"
url = "https://cran.r-project.org/src/contrib/randomForest_4.6-12.tar.gz"
list_url = "https://cran.r-project.org/src/contrib/Archive/randomForest"
version('4.6-12', '071c03af974198e861f1475c5bab9e7a')