Relative Content

Tag Archive for pythonscikit-learnsvm

SVM most important coefficient doesn’t have dependency on target class

I’ve trained an SVM classifier with my data, looked at the coefficients and then plotted the most important training feature against my target class. However, I found there to be no dependency ( x axis is the class, y axis is the most important feature ). I trained the SVM on whether the class value is 0 or greater than 0 but the image shows all class values in my data set.