Your Features Are Important? It Doesn’t Mean They Are Good

<h1>&ldquo;Important&rdquo; and &ldquo;Good&rdquo; Are Not Synonyms</h1> <p>The concept of &ldquo;feature importance&rdquo; is widely used in machine learning as the most basic type of model explainability. For example, it is used in Recursive Feature Elimination (RFE), to iteratively drop the least important feature of the model.</p> <p>However, there is a misconception about it.</p> <blockquote> <p><strong>The fact that a feature is important doesn&rsquo;t imply that it is beneficial for the model!</strong></p> </blockquote> <p>Indeed, when we say that a feature is important, this simply means that the feature brings a high contribution to the predictions made by the model. But we should consider that&nbsp;<strong>such contribution may be wrong</strong>.</p> <p>Take a simple example: a data scientist accidentally forgets the Customer ID between its model&rsquo;s features. The model uses Customer ID as a highly predictive feature. As a consequence, this feature will have a high feature importance even if it is actually worsening the model, because it cannot work well on unseen data.</p> <p><a href="https://towardsdatascience.com/your-features-are-important-it-doesnt-mean-they-are-good-ff468ae2e3d4"><strong>Visit Now</strong></a></p>