Gradient descent algorithm 梯度下降法
梯度下降法用于局部最优搜索:
假设函数函数J是关于θ0\theta_0θ0,θ1\theta_1θ1记为J(θ0,θ1)J(\theta_0,\theta_1)J(θ0,θ1)
梯度下降法的目标是寻找一组合适的θ0\theta_0θ0和θ1\theta_1θ1,使得J(θ0,θ1)J(\theta_0,\theta_1)J(θ0,θ1)在某个局部范围内最小,
公式如下:
repea...
原创
2018-11-23 11:36:17 ·
1494 阅读 ·
0 评论