array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'function.fann-get-activation-steepness.php', 1 => 'fann_get_activation_steepness', ), 'up' => array ( 0 => 'ref.fann.php', 1 => 'Fann 函数', ), 'prev' => array ( 0 => 'function.fann-get-activation-function.php', 1 => 'fann_get_activation_function', ), 'next' => array ( 0 => 'function.fann-get-bias-array.php', 1 => 'fann_get_bias_array', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'zh', 'path' => 'reference/fann/functions/fann-get-activation-steepness.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL fann >= 1.0.0)
fann_get_activation_steepness — 为提供的神经和网络层数返回激活陡度
获取神经元数为 neuron
层数为
layer
神经网络的激活陡度,将输入层数计为1层。
在输入层中是不可能获取激活陡度。
激活函数的陡度表明了激活函数从最小到最大有多块。一个高值表明将会提供一个更高效的训练。
在训练神经网络时,输出值应该处于极端(通常是 0 和 1,取决于激励函数),一般陡峭的激活函数将会被使用(比如为1.0时)。
默认的激活陡度是0.5.
ann
神经网络 资源。
layer
层数
neuron
神经元数
激活陡度,当神经元在神经网络中没定义时为-1,错误时返回 false
.