We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
plot_y = (-w0 * plot_x - plot_b) / w1
这里plot画出的是两种类别的分割线,没明白y为什么要这么取值,nn.linear的两个权重w0 w1分别有什么含义呢?
The text was updated successfully, but these errors were encountered:
你可以反推一下: plot_y = (-w0 * plot_x - plot_b) / w1 可以化为 w1 * plot_y + w0 * plot_x + plot_b = 0。
w1 * plot_y + w0 * plot_x + plot_b = 0
这就是逻辑回归的公式中的 f(x) 附上逻辑回归公式:
Sorry, something went wrong.
No branches or pull requests
plot_y = (-w0 * plot_x - plot_b) / w1
这里plot画出的是两种类别的分割线,没明白y为什么要这么取值,nn.linear的两个权重w0 w1分别有什么含义呢?
The text was updated successfully, but these errors were encountered: