def mutual_info_classif(X, y, discrete_features='auto', n_neighbors=3, copy=True, random_state=None):
 check_classification_targets(y)
 return _estimate_mi(X, y, discrete_features, True, n_neighbors, copy, random_state)

def mutual_info_classif ( X , y , discrete_features = 'auto' , n_neighbors = 3 , copy = True , random_state = None ) : check_classification_targets ( y ) return _estimate_mi ( X , y , discrete_features , True , n_neighbors , copy , random_state )
estimate mutual information for a discrete target variable .