Open in CoCalc with one click!

R's Neuralnet Package

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.

In [1]:
require(neuralnet) XOR <- c(0,1,1,0) <- data.frame(expand.grid(c(0,1), c(0,1)), XOR) net.xor <- neuralnet( XOR~Var1+Var2,, hidden=2, rep=5) plot(net.xor, rep="best")
Loading required package: neuralnet
In [ ]: