Joel Nothman
98357ec4d4
FIX (0.21) make count_nonzero dtype invariant wrt axis ( #12341 )
2018-10-14 21:12:02 +08:00
Guillaume Lemaitre
5718466bb5
[MRG] ENH: Ignore NaNs in StandardScaler and scale ( #11206 )
2018-06-21 15:48:38 +02:00
Guillaume Lemaitre
b9f3758dfd
MAINT add function to ignore nan in min/max sparse functions ( #11196 )
2018-06-07 06:57:30 +10:00
AdityaDaflapurkar
58c043e54b
DOC Fix typo in sparsfuncs.py and sparsfuncs_fast.pyx ( #10865 )
2018-03-25 09:52:03 +11: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
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
giorgiop
6a5a2f7960
partial_fit for scalers
2015-10-13 11:37:00 +02:00
Loïc Estève
67dcd99d82
TST fix tests with numpy 1.6.1
...
np.bincount raises an Exception with empty input arrays for numpy versions < 1.6.2
Add utils.fixes.bincount to tackle this issue and use it instead of np.bincount
2015-02-01 15:49:49 +01:00
Raghav R V
b3fbccca38
FIX various mismatch between docstring and signature params
...
DOC max_iterations -> max_iter. Make it consistent with kmeans
MAINT Replace the deprecated dx parameter with d in the docstrings
MAINT Deprecation warning for max_iterations parameter.
2015-01-16 11:54:57 -05:00
MechCoder
2daa0289ef
Renamed csc_row_median to csc_median_axis_0
2014-10-21 09:21:30 +02:00
MechCoder
3e7b816a0d
DOC: Explain why the centroid of the manhattan metric is the median
2014-10-21 09:21:30 +02:00
MechCoder
9622e858b3
MAINT: Move _get_median into sparsefuncs to avoid circular imports
2014-10-21 09:21:30 +02:00
MechCoder
91450c6960
FIX: Wrap csc_row_median around the _get_median imputer function
2014-10-21 09:21:30 +02:00
MechCoder
6f41bd1c88
ENH: Patches Nearest Centroid for metric=manhattan for sparse and dense data
2014-10-21 09:21:30 +02:00
Thomas Unterthiner
52adb5cae7
ENH Add 'axis' argument to sparsefuncs.mean_variance_axis
2014-09-03 13:47:48 +02:00
Joel Nothman
0e31553de5
ENH Sparse multilabel target support
...
All multilabel metric calculation is now performed efficiently over
sparse CSR matrices.
2014-07-30 22:13:11 +10:00
Thomas Unterthiner
325e998fcc
Extend utils.sparsefuncs: inplace scale and axis min/max
2014-05-18 20:03:37 +10:00
Manoj-Kumar-S
5d47cfcbcb
Improved formatting of unsupported sparse matrices in swapping
2014-05-10 11:37:53 +05:30
Manoj-Kumar-S
fc634f95f2
Made the following changes
...
1. Minor changes to docs
2. Replaced swap with inplace_swap
2014-04-30 23:27:26 +05:30
Manoj-Kumar-S
31d438eb3d
COSMIT: Replaced ptr1/2 with start/stop
2014-04-26 23:38:58 +05:30
Manoj-Kumar-S
924db9b07e
Made the following changes
...
a] Replaced numpy slicing with concatanate
b] Added swap_sparse_column
2014-04-24 20:58:11 +05:30
Manoj-Kumar-S
5119d68982
ENH: Swap rows in sparsefuncs
2014-04-24 17:19:09 +05:30
Lars Buitinck
32c843b4b9
COSMIT: pep8, trailing spaces
2014-03-29 17:59:35 +01:00
Manoj-Kumar-S
bbb8f1d1bf
Moved sparsefuncs to sparsefuncs_fast
2014-03-27 13:20:45 +05:30