Learn R Programming

RSNNS (version 0.4-9)

SnnsRObject$setTTypeUnitsActFunc: Set the activation function for all units of a certain ttype.

Description

The function uses the function SnnsRObject$getAllUnitsTType to find all units of a certain ttype, and sets the activation function of all these units to the given activation function.

Usage

"setTTypeUnitsActFunc"(ttype, act_func)

Arguments

ttype
a string containing the ttype.
act_func
the name of the activation function to set.

See Also

SnnsRObject$getAllUnitsTType

Examples

Run this code
## Not run: SnnsRObject$setTTypeUnitsActFunc("UNIT_HIDDEN", "Act_Logistic")

Run the code above in your browser using DataLab