Last active
May 29, 2019 08:32
-
-
Save junichiro/31230d7569516d9f207fdd4c510211c2 to your computer and use it in GitHub Desktop.
機械学習で精度が出ない時にやることまとめ ref: https://qiita.com/junichiro/items/7e2842c7afba2407c49b
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
err(h_\theta(x), y) = \left\{ | |
\begin{array}{ll} | |
1 & (h_\theta(x) \geq 0.5, y = 0 \quad or \quad h_\theta(x) \lt 0.5, y = 1) \\ | |
0 & (otherwise) | |
\end{array} | |
\right. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\begin{align} | |
&d = 1, \quad h_\theta(x) = \theta_0 + \theta_1x \\ | |
&d = 2, \quad h_\theta(x) = \theta_0 + \theta_1x + \theta_2x^2 \\ | |
&\vdots \\ | |
&d = 10, \quad h_\theta(x) = \theta_0 + \theta_1x + \ldots + \theta_{ 10 }x^{ 10 } | |
\end{align} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment