> Message: 4
> Date: Thu, 15 Aug 2013 01:22:31 +0900
> From: Mathieu Blondel <[email protected]>
> Subject: Re: [Scikit-learn-general] RidgeClassifier
> To: scikit-learn-general <[email protected]>
> Message-ID:
>       <CAOKSrLzfO+W4HB9WStazpo-3mVpjU+STp-U_=frm+tdffai...@mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> On Thu, Aug 15, 2013 at 12:54 AM, Shishir Pandey <[email protected]>wrote:
>
>> > How does the RidgeClassifier work? How does it decide how many classes
>> > are there. In my problem there are only two classes {-1, 1} but the
>> > Predict() gives 12, 15 and all sorts of classes. How does the
>> > RidgeClassifier decide the thresholds for each class?
>> >
> It knows the number of classes by inspecting the number of unique values in
> y.
> So my guess is that your y contains more than just -1 and 1.
>
> All tests pass and the document classification example on the news20
> dataset works so I don't think the bug is in scikit-learn.
>
> Cheers,
> Mathieu
I might have conveyed the wrong thing here. I am using version 0.14.1 of
sklearn. I have a multiple output problem. I am using the yeast dataset.
The input x is a protein (103 dim vector) and the output are the
different functions it performs (characteristic vector for 14
functions). So I am looking for a classifier which gives a one-zero
classification for each of the 14 functions.

Thanks.

-- 
sp


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to