Re: [Scikit-learn-general] LinearSVC best match

2012-08-15 Thread abdalrahman eweiwi
Sorry here is the link for the paper http://www.wjscheirer.com/papers/wjs_cvpr2012_attributes.pdf On Tue, Aug 14, 2012 at 1:24 AM, abdalrahman eweiwi < [email protected]> wrote: > Hi, > > Your question got my attention as I was just reading today some CVPR'12 > about how to calibrate

Re: [Scikit-learn-general] LinearSVC best match

2012-08-15 Thread abdalrahman eweiwi
Hi, Your question got my attention as I was just reading today some CVPR'12 about how to calibrate the scores of the SVM classifiers into a probability distribution using the Extreme Value Theory. The authors do provide the code wrapped into python using SWIG, tried to hack it today but did not ye

Re: [Scikit-learn-general] LinearSVC best match

2012-08-13 Thread Andreas Mueller
On 08/13/2012 08:29 PM, Abhi wrote: > Andreas Müller writes: > >> Alternatively you could look at the output of "decision_function" in > LinearSVC. >> These do not represent probabilities, though. >> >> Andy >> > > Hi Andy, thanks for pointing me towards that. I looked around online but I'm > st

Re: [Scikit-learn-general] LinearSVC best match

2012-08-13 Thread Abhi
Andreas Müller writes: > > Alternatively you could look at the output of "decision_function" in LinearSVC. > These do not represent probabilities, though. > > Andy > Hi Andy, thanks for pointing me towards that. I looked around online but I'm still not sure how I can use the decision_funct

Re: [Scikit-learn-general] LinearSVC best match

2012-08-13 Thread Andreas Mueller
Hi Abhi. As I said above, you can just use "decision_function" of LibLinear, which gives you the distance to the separating hyperplane. Alternatively you can use "LogisticRegression" from the "linear_models" module. Best, Andy ---

Re: [Scikit-learn-general] LinearSVC best match

2012-08-13 Thread Abhi
Gael Varoquaux writes: > > On Thu, Aug 09, 2012 at 01:02:21AM +, Abhi wrote: > > I am using sklearn.svm.LinearSVC for document classification and I get > > a > > good accuracy[98%] on predict. Is there a way to find the confidence of match > > (like predict_proba() in SGDClassifier)

Re: [Scikit-learn-general] LinearSVC best match

2012-08-09 Thread Andreas Müller
05:50:14 Betreff: Re: [Scikit-learn-general] LinearSVC best match On Thu, Aug 09, 2012 at 01:02:21AM +, Abhi wrote: > I am using sklearn.svm.LinearSVC for document classification and I get a > good accuracy[98%] on predict. Is there a way to find the confidence of match > (like pre

Re: [Scikit-learn-general] LinearSVC best match

2012-08-08 Thread Gael Varoquaux
On Thu, Aug 09, 2012 at 01:02:21AM +, Abhi wrote: > I am using sklearn.svm.LinearSVC for document classification and I get a > good accuracy[98%] on predict. Is there a way to find the confidence of match > (like predict_proba() in SGDClassifier)? Not simply using LinearSVC: liblinear d

[Scikit-learn-general] LinearSVC best match

2012-08-08 Thread Abhi
I am using sklearn.svm.LinearSVC for document classification and I get a good accuracy[98%] on predict. Is there a way to find the confidence of match (like predict_proba() in SGDClassifier)? This would help me in determining the way to handle the remaining 2%, ie the documents that do n