函式名:fann_get_sarprop_step_error_shift()
功能:獲取該神經網路使用的 Sarprop 演演演算法的 step_error_shift 值
適用版本:FANN >= 2.2.0
用法: float fann_get_sarprop_step_error_shift ( resource $ann )
引數: $ann:神經網路資源
返回值: 返回一個浮點數,表示神經網路使用的 Sarprop 演演演算法的 step_error_shift 值
說明: 該函式用於獲取神經網路使用的 Sarprop(適應性後向傳播演演演算法)的 step_error_shift 值。step_error_shift 值用於調整引數的學習速度,它表示每次權重更新的步長。
示例:
<?php
$ann = fann_create_standard(2, 2, 1);
$step_error_shift = fann_get_sarprop_step_error_shift($ann);
echo "Step Error Shift: " . $step_error_shift;
?>
輸出: Step Error Shift: 0.01
熱門工具排行榜