It relates to a recently-fixed issue other than the one Olivier notes (see
https://github.com/scikit-learn/scikit-learn/issues/2531).

Because scikit-learn considers DeprecationWarnings an important part of its
API development, it forced them to be printed, using
warnings.simplefilter('always', DeprecationWarning).

It turns out this filter was too simple because, as you have noted, it
affects DeprecationWarnings outside of the package.

>From the next release, the filter will be more nuanced: DeprecationWarnings
will always be printed when they come from within the sklearn package
namespace.

- Joel


On Fri, Dec 13, 2013 at 1:42 AM, Olivier Grisel <olivier.gri...@ensta.org>wrote:

> Which version of sklearn are you running? Could this be related to the
> recently merged handling of the warning registries? I thought it would
> only impact tests.
>
> --
> Olivier
>
>
> ------------------------------------------------------------------------------
> Rapidly troubleshoot problems before they affect your business. Most IT
> organizations don't have a clear picture of how application performance
> affects their revenue. With AppDynamics, you get 100% visibility into your
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
> Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
> _______________________________________________
> Scikit-learn-general mailing list
> Scikit-learn-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to