[scikit-learn] Calculate p-value, the measure of statistical significance, in scikit-learn

Andrew Howe ahowe42 at gmail.com
Sat Feb 4 03:23:33 EST 2017


I'm fairly certain that the scikit-learn regression result, plus what you
already have about the data is enough for you to compute all those
statistical measures yourself.  It should be rather trivial to do so.

Andrew

On Feb 4, 2017 00:34, "Afarin Famili" <Afarin.Famili at utsouthwestern.edu>
wrote:

> Hi all,
>
> I am aiming at calculating the p-value of regression models using
> scikit-learn, in order to report their statistical significance. Aside from
> permutation_test_score in scikit-learn, do you have any suggestions for
> calculating the p-value of the model? Ultimately, I am interested in
> computing the coefficient of determination, r2 as well as MSE to indicate
> the performance of the model for those models that were statistically
> significant.
>
> Thank you,
>
> Afarin​
>
>>
>
>
> ------------------------------
>
> UT Southwestern
>
> Medical Center
>
> The future of medicine, today.
>
> _______________________________________________
> scikit-learn mailing list
> scikit-learn at python.org
> https://mail.python.org/mailman/listinfo/scikit-learn
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-learn/attachments/20170204/b91b17ea/attachment-0001.html>


More information about the scikit-learn mailing list