Skip to content

Activation functions between network layers

Usage

activation(values = values_activation)

activation_2(values = values_activation)

values_activation

Format

An object of class character of length 5.

Arguments

values

A character string of possible values. See values_activation in examples below.

Details

This parameter is used in parsnip models for neural networks such as parsnip:::mlp().

Examples

values_activation
#> [1] "linear"  "softmax" "relu"    "elu"     "tanh"   
activation()
#> Activation Function  (qualitative)
#> 5 possible values include:
#> 'linear', 'softmax', 'relu', 'elu' and 'tanh'