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

第2章 感知机 scikit-learn实例 #30

Open
junliang230 opened this issue Sep 8, 2019 · 1 comment
Open

第2章 感知机 scikit-learn实例 #30

junliang230 opened this issue Sep 8, 2019 · 1 comment

Comments

@junliang230
Copy link

请问为什么clf = Perceptron(fit_intercept=False, max_iter=1000, shuffle=False)这里的fit_intercept要设置为false呢,这样不就没有截距了吗

@Yangweb72
Copy link

应该因为感知器模型产生的超平面一定会经过原点,所以截距为0.

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

2 participants