summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorJen Herting <jen@herting.cc>2021-08-16 13:51:27 -0400
committerGitHub <noreply@github.com>2021-08-16 12:51:27 -0500
commit51ad841f1ed9b18b7cbb0066c054a522fc6e85a8 (patch)
treedb65fb39b9d02f46656a26dd2bc86b41ee9d98d6 /var
parent9d05c7ba76de8bc93cdcfc609f3e5afdbfde6229 (diff)
downloadspack-51ad841f1ed9b18b7cbb0066c054a522fc6e85a8.tar.gz
spack-51ad841f1ed9b18b7cbb0066c054a522fc6e85a8.tar.bz2
spack-51ad841f1ed9b18b7cbb0066c054a522fc6e85a8.tar.xz
spack-51ad841f1ed9b18b7cbb0066c054a522fc6e85a8.zip
New package: r-neuralnet (#25392)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/r-neuralnet/package.py25
1 files changed, 25 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-neuralnet/package.py b/var/spack/repos/builtin/packages/r-neuralnet/package.py
new file mode 100644
index 0000000000..b02110ff91
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-neuralnet/package.py
@@ -0,0 +1,25 @@
+# Copyright 2013-2021 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 RNeuralnet(RPackage):
+ """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."""
+
+ homepage = "https://cloud.r-project.org/package=neuralnet"
+ url = "https://cloud.r-project.org/src/contrib/neuralnet_1.44.2.tar.gz"
+ list_url = "https://cloud.r-project.org/src/contrib/Archive/neuralnet"
+
+ 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'))