slimming the classifier it is always worth looking at the actual contributions of the individual features for logistic regressionwe can directly take the learned coefficients (clf coef_to get an impression of the feature' impact the higher the coefficient of feature isthe more the feature plays role in determining whether the post is good or not consequentlynegative coefficients tell us that the higher values for the corresponding features indicate stronger signal for the post to be classified as badwe see that linkcount and numexclams have the biggest impact on the overall classification decisionwhile numimages and avgsentlen play rather minor role while the feature importance overall makes sense intuitivelyit is surprising that numimages is basically ignored normallyanswers containing images are always rated high in realityhoweveranswers very rarely have images so although in principal it is very powerful featureit is too sparse to be of any value we could easily drop this feature and retain the same classification performance