I didn't remember that I had put that code online :). The Internet is a wonderful thing!
Gaƫl On Thu, Feb 11, 2016 at 11:39:37AM +0000, Daniel Homola wrote: > if your Y is continuous you can use Gael's code (mutual_information(X,Y), k=3) > here: > https://gist.github.com/GaelVaroquaux/ead9898bd3c973c40429 > to estimate MI between two matrices. > if your Y is discrete, i.e. multiple class labellings for X, you can only do > this column by column separately. At least in my understanding. > Cheers, > d > On 11/02/16 11:12, Shishir Pandey wrote: > Hi > I would like to know if : > https://github.com/scikit-learn/scikit-learn/blob/master/sklearn/ > feature_selection/mutual_info_.py > supports Y to be a matrix. From what I see it seems like Y can only be a > column vector. -- Gael Varoquaux Researcher, INRIA Parietal NeuroSpin/CEA Saclay , Bat 145, 91191 Gif-sur-Yvette France Phone: ++ 33-1-69-08-79-68 http://gael-varoquaux.info http://twitter.com/GaelVaroquaux ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 _______________________________________________ Scikit-learn-general mailing list Scikit-learn-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/scikit-learn-general