Also the NearestCentroid classifier do not have decision_function !
>In some cases, you can get more information from
classifier.decision_function().
On 28 July 2014 20:43, Josh Vredevoogd <[email protected]> wrote:
> In some cases, you can get more information from
> classifier.decision_function(). The output will not be a probability but
> can still be more useful than the binary result -- I'm thinking of
> meta-classifiers or classifier evaluation. Caveat: there are likely gotchas
> in going this direction if you don't know how the classifier works.
>
>
> On Mon, Jul 28, 2014 at 11:14 AM, Lars Buitinck <[email protected]>
> wrote:
>
>> 2014-07-28 18:39 GMT+02:00 Sheila the angel <[email protected]>:
>> > For the classifier which do not provide probability estimate of the
>> class
>> > (gives error 'object has no attribute predict_proba " ), is there any
>> easy
>> > way to calculate the posterior probability?
>>
>> No. If there were, we would have implemented predict_proba.
>>
>> (Or yes, but it's always zero or one.)
>>
>>
>> ------------------------------------------------------------------------------
>> Infragistics Professional
>> Build stunning WinForms apps today!
>> Reboot your WinForms applications with our WinForms controls.
>> Build a bridge from your legacy apps to the future.
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Scikit-learn-general mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>>
>
>
>
> ------------------------------------------------------------------------------
> Infragistics Professional
> Build stunning WinForms apps today!
> Reboot your WinForms applications with our WinForms controls.
> Build a bridge from your legacy apps to the future.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
> _______________________________________________
> Scikit-learn-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>
>
------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls.
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general