Skip to content
New issue

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

第三章逻辑斯蒂回归的代码问题 #41

Open
mengwei-wang opened this issue Feb 23, 2021 · 0 comments
Open

第三章逻辑斯蒂回归的代码问题 #41

mengwei-wang opened this issue Feb 23, 2021 · 0 comments

Comments

@mengwei-wang
Copy link

画出参数更新之前的结果

w0 = w[0].data[0]
w1 = w[1].data[0]
b0 = b.data[0]

plot_x = np.arange(0.2, 1, 0.01)
plot_y = (-w0 * plot_x - b0) / w1 # 上面会导致乘法不能正常操作, 应该讲w0,w1,w2转换成numpy array 才能调通

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant