On 12/04/2012 02:05 AM, Afik Cohen wrote:
Andreas Mueller amueller@... writes:
On 12/03/2012 09:39 PM, Afik Cohen wrote:
No, we aren't doing multi-label classification, just multiclass. He was
saying
we could just use SGDClassifier directly, which is true, but AFAIK there is
no
way to get
Will this let us run SGDClassifier and show us per-class probability
outputs?
Again, that's the only reason we've been using OneVsRestClassifier. Let me
explain what I mean by per-class probability, just in case it isn't clear:
SGDClassifier's predict_proba() returns probability of
[(0.4, 0.5), (0.7, 0.3), (0.8, 0.2), (0.9, 0.1), (0.6, 0.4)] for five
classes
showing the probability that the input does not belong/does belong to that
class, respectively.
Yes, if you don't normalize.
You are aware that this is inconsistent when you are doing multi-class,
not
On 12/03/2012 09:39 PM, Afik Cohen wrote:
No, we aren't doing multi-label classification, just multiclass. He was saying
we could just use SGDClassifier directly, which is true, but AFAIK there is no
way to get good prediction probability outputs on a per-class basis unless you
train binary
Andreas Mueller amueller@... writes:
On 12/03/2012 09:39 PM, Afik Cohen wrote:
No, we aren't doing multi-label classification, just multiclass. He was
saying
we could just use SGDClassifier directly, which is true, but AFAIK there is
no
way to get good prediction probability outputs on
Am 29.11.2012 23:45, schrieb Afik Cohen:
Hey Mathieu!
Pretty much the only reason we wrap SGDClassifier in a OneVsRestClassifier is
so
we can get predict_proba results on a per class basis. This fits our use case
better than getting prediction proabilities spread over all classes at once.
Mathieu Blondel mathieu@... writes:
On Thu, Nov 29, 2012 at 10:39 AM, Afik Cohen afik-
4fy62ikxrtzqt0dzr+a...@public.gmane.org wrote:
It's easy to see how with some slight modifications (wrapping that in a joblib
Parallel() call) we could enable n_jobs for OneVsRestClassifier. This