Determining the most contributing features for SVM classifier in sklearn
Yes, there is attribute coef_ for SVM classifier but it only works for SVM with linear kernel. For other kernels it is not possible because data are transformed by kernel method to another space, which is not related to input space, check the explanation. from matplotlib import pyplot as plt from sklearn import svm def … Read more