Re: [scikit-learn] Github project management tools

2016-12-05 Thread Joel Nothman
With apologies for starting the thread and then disappearing for a while (life got in the way, and when I came back I decided the issue backlog itself was more pressing): Of late, I mostly operate on a last-in-first-out basis, so I'm highly influenced by recent activity. This minimises communicati

Re: [scikit-learn] [semi-supervised learning] Using a pre-existing graph with LabelSpreading API

2016-12-05 Thread Clay Woolam
Heya, sorry for not responding sooner. Running those algorithms algorithm is expensive (O(n^3) from memory), so that's going to be a big limiting factor. And I worry that your graph may be too big for these algorithsm. The max_iter param is certainly available for tuning which trade-off the accura

Re: [scikit-learn] Nested Leave One Subject Out (LOSO) cross validation with scikit

2016-12-05 Thread Raghav R V
Ah yes sorry LeaveOneGroupOut indeed! Also refer this example for nested cv - http://scikit-learn.org/stable/auto_examples/model_selection/plot_nested_cross_validation_iris.html Thx! On Mon, Dec 5, 2016 at 2:51 PM, Andy wrote: > > > On 12/04/2016 04:27 PM, Raghav R V wrote: > >> Hi! >> >> It l

Re: [scikit-learn] Markov Clustering?

2016-12-05 Thread Andy
On 12/05/2016 08:51 AM, Raphael C wrote: And... [1] Stijn van Dongen. Graph Clustering by Flow Simulation. PhD thesis, University of Utrecht, May 2000. http://www.library.uu.nl/digiarchief/dip/diss/1895620/inhoud.htm has 1201 citations. I think it's fair to say the method is very widely k

Re: [scikit-learn] Nested Leave One Subject Out (LOSO) cross validation with scikit

2016-12-05 Thread Andy
I'm not sure what the issue with your custom CV is but this seems like a complicated way to implement this. Try model_selection.LeaveOneGroupOut, which directly implements LOSO On 12/04/2016 03:12 PM, Ludovico Coletta wrote: Dear scikit experts, I'm struggling with the implementation of a nest

Re: [scikit-learn] Nested Leave One Subject Out (LOSO) cross validation with scikit

2016-12-05 Thread Andy
On 12/04/2016 04:27 PM, Raghav R V wrote: Hi! It looks like you are using the old `sklearn.cross_validation`'s LeaveOneLabelOut cross-validator. It has been deprecated since v0.18. Use the `LeaveOneLabelOut` from `sklearn.model_selection`, that should fix your issue I think (thought I have

Re: [scikit-learn] Markov Clustering?

2016-12-05 Thread Raphael C
And... [1] Stijn van Dongen. Graph Clustering by Flow Simulation. PhD thesis, University of Utrecht, May 2000. http://www.library.uu.nl/digiarchief/dip/diss/1895620/inhoud.htm has 1201 citations. I think it's fair to say the method is very widely known and used. Raphael On 5 December 2016 at

Re: [scikit-learn] Markov Clustering?

2016-12-05 Thread Gael Varoquaux
Interestingly, a couple of days before this thread was started a researcher in a top lab of a huge private-sector company had mentionned to me that they found this algorithm very useful in practice (sorry for taking time to point this out, I just needed to check with him that indeed it was this spe

Re: [scikit-learn] Nested Leave One Subject Out (LOSO) cross validation with scikit

2016-12-05 Thread Ludovico Coletta
Unfortunately, it did not work. I think I am doing something wrong when passing the nested cv, but I do not understand where. If I omit the cv argument in the grid search it runs smoothly. I would like to have LeaveOneOut in both the outer and inner cv, how would you implement such a thing? B