Skip to content

Commit

Permalink
Merge pull request scutan90#391 from djwackey/master
Browse files Browse the repository at this point in the history
fix a typo in chapter 2
  • Loading branch information
scutan90 authored Jun 30, 2019
2 parents e12e38f + a99c9a8 commit a2ea69e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ch02_机器学习基础/第二章_机器学习基础.md
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ $$
J = \frac{1}{2n}\sum_x\Vert y(x)-a^L(x)\Vert^2
$$

​ 其中,$J$表示代价函数,$x$表示样本,$y$示实际值,$a$表示输出值,$n$表示样本的总数。使用一个样本为例简单说明,此时二次代价函数为:
​ 其中,$J$表示代价函数,$x$表示样本,$y$表示实际值,$a$表示输出值,$n$表示样本的总数。使用一个样本为例简单说明,此时二次代价函数为:
$$
J = \frac{(y-a)^2}{2}
$$
Expand Down

0 comments on commit a2ea69e

Please sign in to comment.