There is no coef_ for kernel SVMs.
What exactly are you looking for?
On 1/20/20 9:52 AM, Rujing Zha wrote:
Hi Guillaume
Is it OK for rbf kernel? As the document said: Weights assigned to
the features (coefficients in the primal problem). This is only
available in the case of a*/linear kernel./*
At 2020-01-20 20:30:53, "Guillaume Lemaître" <g.lemaitr...@gmail.com>
wrote:
You can look at the attribute coef_ once your model is fitted.
Sent from my phone - sorry to be brief and potential misspell.
*From:* charujing...@163.com
*Sent:* 20 January 2020 12:32
*To:* scikit-learn@python.org
*Reply to:* scikit-learn@python.org
*Subject:* [scikit-learn] ask a question about weights for
features in svc with rbf kernel
Hi experts and users,
I am going to extact the pattern of svc. But I do not know how to
extract weights for each feature using this svc classifiers with
kernel of rbf function.
Thank you.
Rujing
_______________________________________________
scikit-learn mailing list
scikit-learn@python.org
https://mail.python.org/mailman/listinfo/scikit-learn
_______________________________________________
scikit-learn mailing list
scikit-learn@python.org
https://mail.python.org/mailman/listinfo/scikit-learn