On 15-08-2013 04:47, Mathieu Blondel wrote:
> On Thu, Aug 15, 2013 at 7:42 AM, Shishir Pandey <[email protected]
> <mailto:[email protected]>> wrote:
> 
>     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.
> 
> 
> If I understand you correctly, you're trying to do multilabel
> classification by converting the problem to a multitask binary
> classification problem. Unfortunately, no classifier in scikit-learn can
> accept an output matrix. You need to solve each task independently by
> fitting a classifier with a column (i.e., a vector, not a matrix) of
> your output matrix.
> 
> Note that this is exactly what OneVsRestClassifier does automatically
> for you.
> 
> HTH,
> M.


Hi Mathieu

You are right this is what I am trying to do. Thanks for the suggestion.

-- 
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