Documentation
¶
Index ¶
- Constants
- Variables
- func Activation(value pkg.FloatType, mode uint8) pkg.FloatType
- func CheckActivationMode(mode uint8) uint8
- func CheckLayer(layer []uint) []uint
- func CheckLearningRate(rate pkg.FloatType) pkg.FloatType
- func CheckLossMode(mode uint8) uint8
- func Derivative(value pkg.FloatType, mode uint8) pkg.FloatType
Constants ¶
View Source
const ( LINEAR uint8 = iota // LINEAR - Linear/identity. RELU // RELU - ReLu (rectified linear unit). LEAKYRELU // LEAKYRELU - Leaky ReLu (leaky rectified linear unit). SIGMOID // SIGMOID - Logistic, a.k.a. sigmoid or soft step. TANH // TANH - TanH (hyperbolic tangent). )
Activation function mode.
View Source
const ( MSE uint8 = iota // MSE - Mean Squared Error. RMSE // RMSE - Root Mean Squared Error. ARCTAN // ARCTAN - Arctan Error. AVG // AVG - Average Error. )
The mode of calculation of the total error.
Variables ¶
View Source
var GetRandFloat = getRandFloat
Functions ¶
func Activation ¶
Activation function.
func CheckLearningRate ¶
CheckLearningRate.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.