Re: [scikit-learn] creating a custom scoring function for cross-validation of classification

2016-11-01 Thread Andy
Hi. If you want to pass a custom scorer, you need to pass the scorer, not a string with the scorer name. Andy On 10/31/2016 04:28 PM, Sumeet Sandhu wrote: Hi, I've been staring at various doc pages for a while to create a custom scorer that uses predict_proba output of a multi-class SGDClass

[scikit-learn] SVM number of support vectors

2016-11-01 Thread muhammad waseem
Hello All, I am trying to replicate the below figure and wanted to confirm that number of support vectors can be calculated by *support_vectors_* attribute in scikitlearn? [image: Inline image 1] Regards Waseem ___ scikit-learn mailing list scikit-learn

Re: [scikit-learn] creating a custom scoring function for cross-validation of classification

2016-11-01 Thread Sumeet Sandhu
ahha - thanks Andy ! that works... On Tue, Nov 1, 2016 at 7:05 AM, Andy wrote: > Hi. > If you want to pass a custom scorer, you need to pass the scorer, not a > string with the scorer name. > Andy > > > On 10/31/2016 04:28 PM, Sumeet Sandhu wrote: > > Hi, > > I've been staring at various doc pag