Der3ActFunc function

Third derivative of activation function of neuron

Third derivative of activation function of neuron

Evaluate third derivative of activation function of a neuron

Der3ActFunc(type = "sigmoid", ...)

Arguments

  • type: character name of the activation function
  • ...: extra arguments needed to calculate the functions

Returns

numeric output of the neuron

Examples

# Return derivative of the sigmoid activation function of a neuron ActivationFunction <- Der3ActFunc("sigmoid") # Return derivative of the tanh activation function of a neuron ActivationFunction <- Der3ActFunc("tanh") # Return derivative of the activation function of several layers of neurons actfuncs <- c("linear","sigmoid","linear") ActivationFunctions <- sapply(actfuncs, Der3ActFunc)
  • Maintainer: Jaime Pizarroso Gonzalo
  • License: GPL (>= 2)
  • Last published: 2024-05-11