spack/var/spack/repos/builtin/packages/r-mlr/package.py
Todd Gamblin eea786f4e8 relicense: replace LGPL headers with Apache-2.0/MIT SPDX headers
- remove the old LGPL license headers from all files in Spack
- add SPDX headers to all files
  - core and most packages are (Apache-2.0 OR MIT)
  - a very small number of remaining packages are LGPL-2.1-only
2018-10-17 14:42:06 -07:00

37 lines
1.7 KiB
Python

# 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 *
class RMlr(RPackage):
"""Interface to a large number of classification and regression techniques,
including machine-readable parameter descriptions. There is also an
experimental extension for survival analysis, clustering and general,
example-specific cost-sensitive learning. Generic resampling,
including cross-validation, bootstrapping and subsampling.
Hyperparameter tuning with modern optimization techniques,
for single- and multi-objective problems. Filter and wrapper methods for
feature selection. Extension of basic learners with additional
operations common in machine learning, also allowing for easy nested
resampling. Most operations can be parallelized."""
homepage = "https://github.com/mlr-org/mlr/"
url = "https://cran.r-project.org/src/contrib/mlr_2.12.1.tar.gz"
list_url = "https://cran.r-project.org/src/contrib/Archive/mlr"
version('2.12.1', 'abddfc9dfe95f290a233ecd97969a4ec')
version('2.12', '94ee7495aeafb432c8af5a8bdd26c25f')
depends_on('r-paramhelpers@1.10:', type=('build', 'run'))
depends_on('r-bbmisc@1.11:', type=('build', 'run'))
depends_on('r-backports@1.1.0:', type=('build', 'run'))
depends_on('r-ggplot2', type=('build', 'run'))
depends_on('r-stringi', type=('build', 'run'))
depends_on('r-checkmate@1.8.2:', type=('build', 'run'))
depends_on('r-data-table', type=('build', 'run'))
depends_on('r-parallelmap@1.3:', type=('build', 'run'))
depends_on('r-xml', type=('build', 'run'))