Re: [Scikit-learn-general] Parameter estimation by Customised Cross Validation

2016-02-05 Thread Jamie Bull
I've been working on a GridSearchTransductive which might do what you need - or be adjustable to do it. You can take a look at #6160 Refactor model_selection._search to include transductive estimators. Jamie On Fri, 5 Feb 2016, 17:42 Vlad Niculae wrote: > Hi Mamun, > > If your cluster labels a

Re: [Scikit-learn-general] Parameter estimation by Customised Cross Validation

2016-02-05 Thread Vlad Niculae
Hi Mamun, If your cluster labels are known, you can use the LabelShuffleSplit ore LeavePLabelOut cross-validation generators. HTH, Vlad On Fri, Feb 5, 2016 at 10:05 AM, Mamun Rashid wrote: > Hi Folks, > I have a two class classification problem where the positive labels reside in > clusters. >

[Scikit-learn-general] Parameter estimation by Customised Cross Validation

2016-02-05 Thread Mamun Rashid
Hi Folks, I have a two class classification problem where the positive labels reside in clusters. A traditional cross validation approach is not aware of this issue and splits data points from a cluster in to training and test set giving rise to strong classification performance. I have writte