Linear SVM 和 LR 有什么异同?
关注者
1,295被浏览
143,580登录后你可以
不限量看优质回答私信答主深度交流精彩内容一键收藏
Logistic Regression vs. SVMs
If n is large (relative to m), then use logistic regression, or SVM without a kernel (the "linear kernel")
If n is small and m is intermediate, then use SVM with a Gaussian Kernel
If n is small and m is large, then manually create/add more features, then use logistic regression or SVM without a kernel.
In the first case, we don't have enough examples to need a complicated polynomial hypothesis. In the second example,