On 08/12/2012 01:56 PM, Alexandre Gramfort wrote: >> Hey Everybody. >> If was just trying to use CountVectorizer but I have trouble using >> Gridsearch using both max_n and min_n. >> I guess the problem is that the parameter are conditioned on each other. >> Is there a nice way to do this? >> I guess I could generate lists of param_grids, i.e. one for each value >> of max_n. >> Any better way to do this? > use a single parameter "bounds" that should be a length 2 tuple (min_n, max_n) > but that's an API change... we would raise an exception if min > max. > Hi Alex. I think this is a very good idea. It is an api-change but going via deprecation that shouldn't be so bad. And it definitely adds functionality. Any one opposed?
cheers, Andy ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Scikit-learn-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
