Commit Graph

40 Commits

Author SHA1 Message Date
Thomas J. Fan 1fc86b6aac
MNT Update black to stable version (#22474) 2022-02-15 11:36:26 +01:00
Thomas J. Fan 3ae7c76153
STY Enables black with experimental_string_processing=true (#20412) 2021-06-29 09:47:04 +02:00
Thomas J. Fan 82df48934e
MNT Applies black formatting to most of the code base (#18948) 2021-06-17 14:21:09 -04:00
Nicolas Hug b92455a6b2 MAINT Deprecate all of utils.testing except all_estimators (#15367) 2019-10-28 17:28:56 +01:00
Thomas J Fan 5756a9934b MNT Make modules private in decomposition (#15344) 2019-10-28 22:46:16 +08:00
Andreas Mueller 92af3dabbb MAINT simplify check_is_fitted to use any fitted attributes (#14545) 2019-08-13 22:09:07 +02:00
Roman Yurchak 2fc3a85b3f MAINT Use isinstance(x, numbers.Integral) to check for integer dtype (#14004) 2019-06-12 19:24:59 -04:00
Roman Yurchak 0e3bb17e62 MAINT Run pyupgrade following Python2 deprecation (#12997) 2019-02-08 20:13:34 +08:00
surgan12 62d2059804 MNT remove __future__ imports (#12791) 2019-02-02 22:05:06 +08:00
Thomas Moreau d25da1be20 FIX make joblib utils private, and remove mentions of externals.joblib (#12345) 2018-11-20 10:53:52 +11:00
TakingItCasual 74b56dbc57 MNT Converting http to https (#12277) 2018-10-04 22:37:57 +08:00
Joel Nothman 14e7c328df Restructure access to vendored/site Joblib (#11471)
In order to fix #11408, this swaps `joblib` and `_joblib`. It however, allows users to access joblib's `Memory` or `Parallel` functionality without accessing `sklearn.externals._joblib` by importing `Memory`, `Parallel`, etc. into `sklearn.utils`.
2018-07-17 18:02:11 +02:00
Jean Helie ac41281451 [MRG+1] Fix alerts found with lgtm (#9278)
* compare values rather than references

* add __ne__ to class

* add missing self parameter

* properly initialise child class using super()

* remove useless loop variables and assigments

* remove useless return statements

* respect PEP8 style

* fix another flake8 check
2017-07-05 17:22:21 +10:00
Naoya Kanai 6579220588 [MRG+1] Drop NumPy < 1.8 (#8874) 2017-06-07 17:06:06 +02:00
Tom Dupré la Tour 3f0af165f9 DOC Improve benchmark on NMF (#5779)
* ENH improve benchmark on nmf

* add projected gradient solver inside the benchmark file

* add comments and authors for _PGNMF
2016-12-21 00:47:28 +11:00
Loïc Estève 037f505a9e MAING make benchmarks scripts Python 3 compatible 2016-11-25 18:45:17 +01:00
jackmartin c625256f4f Fixed pep8 errors
linting
2016-06-10 18:30:26 -04:00
TomDLT ceeef70037 ENH refactor NMF and add CD solver 2015-09-21 11:42:07 +02:00
Lars Buitinck d208c13644 COSMIT friendlier output from faster NMF benchmark
Tolerance lowered to make it run in reasonable time; see #2537.
2013-10-20 19:17:26 +02:00
Ken Geis ca2142ebba ENH lots of benchmarks fixes
* add a title to all benchmark figures/windows
* "bench" is non-standard slang for benchmarking
* remove calls to pyplot.clf because the previous call
  to pyplot.figure sets the current figure
* standardize on "Time (s)" as time axis label
* move some benchmark plot legends to the upper left corner of the plot:
  most benchmarks expand from (0,0) up and to the right
* simplified plot titles and moved constant info from legend into title
* fixed typos
* made some labels more viewer-friendly

Fixes #2023.
2013-06-30 17:06:46 +02:00
Andreas Mueller e42e5305e6 COSMIT pep8 2013-03-05 19:02:08 +01:00
Lars Buitinck 541987802f P3K range vs. xrange 2013-02-14 02:05:35 +01:00
Lars Buitinck c481ff8857 P3K fix broken doctest and add forgotten print_function import 2013-02-11 23:27:17 +01:00
Lars Buitinck 85ec0fd1ae P3K death to the print statement 2013-02-11 23:11:57 +01:00
Olivier Grisel a57c2ae933 more scikits.learn => sklearn updates 2011-09-03 12:57:53 +02:00
Gilles Louppe 3fd8292c18 Fixes for broken benchmarks due to API changes in samples_generator.py 2011-08-04 15:09:32 +02:00
Olivier Grisel c5d20baf28 FIX: broken import in bench_plot_nmf 2011-05-02 10:25:09 +02:00
vene 2c982c928d Missed one reference 2011-04-04 17:00:53 +03:00
vene d98a159a01 Added disclaimer in nndsvdar docstring
Decreased tolerance in benchmark
2011-04-02 17:24:27 +03:00
vene 2f12774709 Documentation. Discussed fixes. Set default to ar. 2011-04-02 01:36:48 +03:00
vene 79a8b97a75 Fix benchmarks printing of error for alt-nmf 2011-04-02 00:39:32 +03:00
vene afd1d555d7 Merged 2011-04-02 00:38:10 +03:00
vene d5919d8b81 Fixed NMF benchmark colors 2011-04-02 00:04:10 +03:00
vene 14823e37cd Fixed benchmark, removed unused import. 2011-04-01 23:45:37 +03:00
vene 1a95f212b6 Benchmarks and more pep8 2011-04-01 23:34:35 +03:00
vene ec08e4cbcb Removed comments. 2011-04-01 22:48:03 +03:00
vene 26d809d953 Abbreviation expansion in benchmark 2011-04-01 22:06:19 +03:00
vene 2b5d9bafdf pep8 fixes 2011-04-01 22:04:15 +03:00
vene 54283ad775 Applied suggestions; updated bench and example 2011-04-01 21:16:42 +03:00
vene 40ac544151 Added benchmark. 2010-12-14 01:32:49 +02:00