jundongl / scikit-feature

open-source feature selection repository in python
GNU General Public License v2.0
1.51k stars 447 forks source link

midd example pls #51

Open Sandy4321 opened 5 years ago

Sandy4321 commented 5 years ago

do have examples how to use your code especially for def midd(x, y): """ Discrete mutual information estimator given a list of samples which can be any hashable object """

return -entropyd(list(zip(x, y)))+entropyd(x)+entropyd(y)

from https://github.com/jundongl/scikit-feature/blob/master/skfeature/utility/entropy_estimators.py