Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

select.activation.function

Provides R code of the selected activation function.


Description

Provides random values to the neuron weights and bias so as to start with. It is usually called by the random.init.NeuralNet function during the construction of the neural object by the newff function.

Usage

select.activation.function(activation.function)

Arguments

activation.function

Activation function name. Currently the user may choose amongst purelin, tansig, sigmoid, hardlim and custom. If custom is chosen the the user must manually assign the neuron f0 and f1 functions.

Value

select.activation.function returns a list with two elements. The first, f0 is the R code selected to serve as the neuron activation function. The second, f1 is the R code of the activation function derivative.

Author(s)

Manuel Castejón Limas. manuel.castejon@gmail.com
Joaquin Ordieres Meré. j.ordieres@upm.es
Ana González Marcos. ana.gonzalez@unirioja.es
Alpha V. Pernía Espinoza. alpha.pernia@unirioja.es
Francisco Javier Martinez de Pisón. fjmartin@unirioja.es
Fernando Alba Elías. fernando.alba@unavarra.es

See Also


AMORE

Artificial Neural Network Training and Simulating

v0.2-16
GPL (>= 2)
Authors
Manuel Castejon Limas, Joaquin B. Ordieres Mere, Ana Gonzalez Marcos, Francisco Javier Martinez de Pison Ascacibar, Alpha V. Pernia Espinoza, Fernando Alba Elias, Jose Maria Perez Ramos
Initial release
2020-02-11

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.