summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-neuralnet/package.py
blob: 28ecc3d41a90758eed4d5b48d601636b44af9a8b (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
25
26
27
28
# Copyright 2013-2023 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.package import *


class RNeuralnet(RPackage):
    """Training of Neural Networks.

    Training of neural networks using backpropagation, resilient
    backpropagation with (Riedmiller, 1994) or without weight backtracking
    (Riedmiller and Braun, 1993) or the modified globally convergent version by
    Anastasiadis et al. (2005). The package allows flexible settings through
    custom-choice of error and activation function. Furthermore, the
    calculation of generalized weights (Intrator O & Intrator N, 1993) is
    implemented."""

    cran = "neuralnet"

    license("GPL-2.0-or-later")

    version("1.44.2", sha256="5f66cd255db633322c0bd158b9320cac5ceff2d56f93e4864a0540f936028826")

    depends_on("r@2.9.0:", type=("build", "run"))
    depends_on("r-mass", type=("build", "run"))
    depends_on("r-deriv", type=("build", "run"))