Commit Graph

29 Commits

Author SHA1 Message Date
Frans Larsson 513d45c039
DOC Fix doc of defaults in sklearn.utils.graph.py (#18064) 2020-08-02 15:46:12 -04:00
Thomas J Fan e770715c43
MNT Completes position arg deprecation (#17272)
* ENH Adds public functions with position args warning

* BUG Circlar import

* STY

* BUG Add keywords

* BUG Fixes warnings

* ENH Adds other public functions

* CLN Suggestion

* CLN Suggestion

* REV Revert pairwise

* ENH Positoinal args for compute_class_weight
2020-05-19 09:07:25 +02:00
Andreas Mueller 0f94f2962b
MNT simple deprecations and removals for 0.21 (#12238)
Part of #11992.
These were all the things that seemed pretty straight-forward. It's actually a bit bulky but should still be easy to review, hopefully.
2018-10-11 14:56:37 -04:00
Joel Nothman c3bdc0a89a
DOC clean up assorted type specifications (#10441) 2018-01-11 09:11:17 +11:00
Loïc Estève f6163e73f8 Make scipy.sparse.csgraph imports explicit (#10145)
This can cause problems in scipy 1.0
2017-11-15 14:10:58 -08:00
Sebastin Santy dc43486806 Remove unused imports (#9235) 2017-07-01 05:57:54 -07:00
Vlad Niculae 738053e657 [MRG+2] MAINT: no longer backport graph_laplacian, use scipy one (#9077) 2017-06-09 16:23:55 +02:00
Loïc Estève ab0342a5ef COSMIT add missing spaces in deprecated messages 2017-06-09 16:00:01 +02:00
Naoya Kanai bd0fc236e0 [MRG+1] MAINT drop SciPy < 0.13 (#8854)
Remove sklearn.utils.fixes functions that are not needed for scipy >= 0.13 and keep deprecated wrappers in other modules.
2017-06-02 23:36:33 +02:00
Olivier Grisel 096a9cbead [MRG] MAINT Python 3.6 fixes (#8123)
* FIX dict order dependent doctest

* FIX str concat TypeError message changed in Python 3.6

* MAINT upgrade travis config with most recent conda deps
2016-12-27 19:50:25 +01:00
Joel Nothman 8570622a44 [MRG+1] DOC insert spaces before colons in parameter lists (#7920)
* DOC insert spaces before colons in parameter lists

Complies with numpydoc to improve rendering and automatic quality
assurance such as #7793. Affects listings of Parameters Attributes,
Returns.

Performed with the help of:

    grep -nE '^(    )+[a-zA-Z][a-zA-Z0-9_]*: ' sklearn -R | grep -v -e
    externals -e tests | grep -v -e default: -e else: -e Warning: -e Note:
    -e TRAIN: -e Default: -e True: -e False: -e DOI: -e In: | gsed
    's|\([^:]*\):\([0-9]*\):\([^:]*\):\(.*\)|--- a/\1\n+++ b/\1\n@@ -\2,1
    +\2,1 @@\n-\3:\4\n+\3 :\4|' | git apply --unidiff-zero -

* DOC fix numpydoc format for param
2016-11-25 10:59:22 +01:00
TomDLT 89c1018c64 ENH improve check_array
ENH improve check_array to warn on dtype conversions

ENH make check_array accept several dtypes

ENH change validation with improved check_array

ENH change astype to avoid copy if possible

ENH remove warn_if_not_float
2015-05-19 16:13:42 +02:00
Robert Layton 4e1e1ab772 Now that the folder has more than just mst in it, rename to sparsetools, which should help with referencing it. 2013-07-22 10:27:26 +02:00
Robert Layton baae05ec2f Two more spots. I think that's it 2013-07-22 10:27:25 +02:00
Gael Varoquaux ae9f7ef7ca BUG: type conversion in spectral_embedding
Under some version of numpy, inplace operations with different types
lead to errors rather than implicit casting.

Fixes #2153
2013-07-13 17:17:49 -05:00
Robert Layton dacfd8bd5d DOC: Replaced all BSD style licenses with "BSD 3 clause"
Replaced all BSD style licenses with "BSD 3 clause"
Not checked yet!

Removed duplicate "3 clause, 3 clause"

Removed trailing period if exists

Fixed some missed licences, still about 50 to do, but those can be automated

Think I got the last of them.

Apparently me and sed have different ideas of regex.

Found a few more
2013-04-30 08:34:46 +02:00
Andreas Mueller a1d4d184fe COSMIT pep8 2013-04-02 13:30:55 +02:00
Lars Buitinck 746c8bd261 DOC rm failing doctest on graph_laplacian 2013-02-27 00:59:36 +01:00
Jake Vanderplas b9a8e085e8 BUG update graph_laplacian to upstream SciPy version
Fixes several bugs and I hope #1698 as well.
2013-02-27 00:25:51 +01:00
Andreas Mueller 754c2d9533 COSMIT pep8 2012-12-22 16:48:17 +01:00
GaelVaroquaux 4395694b46 ENH/FIX: in graph shortest path
Fix doctest and minor simplification
2012-02-25 19:26:41 +01:00
Jan Hendrik Metzen 51f568022f FIX : Fixed bug in single_source_shortest_path_length in sklearn.utils.graph 2012-02-25 19:26:21 +01:00
Olivier Grisel 2cf1ac7449 FIX: py3k - more relative imports 2011-12-23 22:11:46 +01:00
Jake Vanderplas 96ea318b8b Move graph_shortest_path to utils/graph.py 2011-12-19 10:59:00 -08:00
Lars Buitinck 75ceb43c48 COSMIT rm some SciPy pre-0.7 compat code 2011-12-10 12:25:29 +01:00
Andreas Mueller ff3f814a1b COSMIT pep8 whitespace 2011-11-20 21:16:52 +01:00
Fabian Pedregosa ddf4b72109 Move project directory from scikits.learn to sklearn 2011-09-02 12:06:57 +02:00
Fabian Pedregosa 68f27e3790 Revert "Move project directory from scikits.learn to sklearn"
This reverts commit fd0d3b879d.
2011-09-02 12:03:18 +02:00
Fabian Pedregosa fd0d3b879d Move project directory from scikits.learn to sklearn 2011-09-02 11:38:24 +02:00