title: how to apply mutual information on categorical features
body: <p>I am using <code>Scikit-learn</code> to train a classification model. I have both discrete and continuous features in my training data.</p>
  
  <p>I want to do feature selection using  <a href="https://scikit-learn.org/stable/modules/generated/sklearn.feature_selection.mutual_info_classif.html" rel="noreferrer">mutual information</a>. </p>
  
  <p>The features 1,2 and 3  are discrete. to this end, I try the code below : </p>
  
  <pre><code>mutual_info_classif(x, y, discrete_features=[1, 2, 3])
  </code></pre>
  
  <p>but it did not work, it gives me the error:</p>
  
  <pre><code> ValueError: could not convert string to float: 'INT'
  </code></pre>