2012/5/11 Mathieu Blondel <[email protected]>:
>
>
> On Fri, May 11, 2012 at 11:08 PM, Lars Buitinck <[email protected]> wrote:
>>
>>
>> Shouldn't you set the intercept_ as well?
>>
> Indeed. And there was a typo. Obviously it should be
>
> clf.coef_ += clf2.coef_

But as demonstrated in my previous message, this won't work as
clf.coef_ will return an aligned readonly view on the content of the
raw_coef_ attribute.

-- 
Olivier
http://twitter.com/ogrisel - http://github.com/ogrisel

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to