Raghav R V
a87011262a
FIX precision to float64 across the codebase
2015-10-16 11:20:29 +02:00
Olivier Grisel
6966881328
MAINT use inspect.signature for introspection
2015-09-23 16:30:53 +02:00
TomDLT
fecd35567e
FIX array_equal for numpy < 1.8.1
2015-09-16 19:15:48 +02:00
TomDLT
792e529519
add fetch_rcv1
2015-07-16 12:29:00 +02:00
Olivier Grisel
f9eb9cfbee
STYLE whitespace around operator in sklearn.utils.fixes
2015-04-13 11:20:36 -04:00
Olivier Grisel
7ac6c9b3ac
FIX respect astype(array, dtype, copy=True) on old numpy
2015-04-09 08:02:03 -04:00
Loïc Estève
bd9d16b5ee
Simplify the code by using len
2015-02-01 18:48:05 +01: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
Joel Nothman
0c9377ece9
ENH use parallelism for all metrics in pairwise_{kernels,distances}
2015-01-17 21:48:17 +11:00
Olivier Grisel
54f483aafa
FIX #2986 : ZeroDivisionError in LinearRegression on sparse data
2014-11-14 12:51:43 +01:00
Lars Buitinck
a7a05120e2
MAINT: handle frombuffer with empty 1st arg in utils.fixes
2014-09-22 17:23:51 +02:00
Joel Nothman
69af355dc2
FIX only use testing.ignore_warnings in tests
2014-08-06 09:59:42 +10:00
Hamzeh Alsalhi
cbcae0459c
FIX Support unseen labels LabelBinarizer and test
...
This fix restores the default behavior of 0.14.1 for backward
compat.
2014-07-29 16:21:04 +02:00
Gael Varoquaux
4aac610dc3
TST: Fix warnings in np 1.9
...
These break our tests
2014-07-25 13:40:47 +02:00
Lars Buitinck
7d564b3c76
FIX expit bug with out != None
2014-07-14 22:30:02 +02:00
Jeffrey Blackburne
58c0a757f1
PEP8 fix
2014-06-13 22:11:53 -07:00
Jeffrey Blackburne
6ea9fbeddb
Added a backport of numpy.isclose from numpy v1.8.1. This function was not available until numpy v1.7
2014-06-13 22:02:59 -07:00
Lars Buitinck
f4251347af
ENH/DOC fix poly features complexity
...
Fixes #3191 , #3194 .
2014-06-05 17:45:32 +02:00
CJ Carey
46aebf132b
ENH: use partial sort for kneighbors selection
2014-05-30 21:11:50 +02:00
Thomas Unterthiner
325e998fcc
Extend utils.sparsefuncs: inplace scale and axis min/max
2014-05-18 20:03:37 +10:00
Olivier Grisel
58577203e7
FIX: remove casting warning under Python 3
2014-03-29 00:43:35 +01:00
Joel Nothman
c530f5aed4
FIX for early numpy where astype(..., copy=...) unavailable
2014-03-12 14:24:26 +11:00
Lars Buitinck
d9d02aa4d7
COSMIT get rid of warning from expit import
2014-03-10 17:49:33 +01:00
Lars Buitinck
33a45388bc
FIX + TST stability problems with scipy.special.expit
...
Fixes issue reported by @argriffing at #2882 : expit is buggy in
SciPy < 0.14 (to be released). Switch implementation back to
old one based on stability test; toughened unit tests.
2014-03-03 22:01:06 +01:00
Lars Buitinck
23b3cc2eb5
MAINT drop support for SciPy < 0.9
...
TODO: get rid of solve_triangular. Just replacing it by scipy.linalg's
breaks OMP and least-angle regression.
2014-03-02 20:13:57 +01:00
Lars Buitinck
b97fb3c5fc
MAINT drop support for NumPy < 1.6.1
2014-03-02 20:13:57 +01:00
Lars Buitinck
0ba1e28cd5
ENH speed up RBM training with scipy.special.expit
...
SciPy 0.10 already has an implementation of the logistic function called
scipy.special.expit.
Using this makes RBM training 12% faster, as measured by observing the time
per iteration as reported by the plot_rbm_logistic_classification.py example,
disregarding the first iteration as an outlier (it's consistently faster than
the rest, not sure why). The speedup is in the expit function, not the
inplace operations; those are there to make benchmarking easier, but they
certainly won't hurt.
2014-02-23 17:46:53 +01:00
Joel Nothman
dbc26ce996
COSMIT remove unused imports and variables
2014-02-03 19:43:56 +11:00
Gilles Louppe
6454b5f0f7
DOC: add docstring to _logaddexp
2013-09-11 22:00:31 +02:00
Gilles Louppe
f8bf44a251
FIX: logaddexp(-inf, -inf) == -inf and not NaN
2013-09-11 21:31:46 +02:00
dengemann
599ba2d976
FIX: ghost diff
2013-08-25 12:00:06 +02:00
dengemann
f6a1c5aeff
update what's new
2013-08-25 11:16:21 +02:00
dengemann
2240e44f31
ENH: add fast_dot function
2013-08-25 11:16:20 +02:00
Lars Buitinck
31ad968af6
MAINT remove Counter from fixes; no longer used
2013-08-12 12:52:17 +02:00
Alexandre Gramfort
a6f91b3955
revert the tanh fix
2013-07-30 19:46:35 +02:00
Alexandre Gramfort
b236030015
FIX : backport tanh out param in old numpy
2013-07-30 17:11:18 +02:00
Andreas Mueller
e488704849
COSMIT pep8
2013-07-23 15:17:32 +02:00
Justin Vincent
d420aafb0f
TST + PY3 various fixes
...
* Little hack in fixes.py that can be removed when NumPy's
https://github.com/numpy/numpy/issues/3484 is fixed.
* Little cleanup to the fixes implementation.
* Change the numpy workaround and added a test. Fixed some xrange usage.
* Fix the weight boosting test.
* None is not comparable in python3
* Fix a test that depended on dictionary iteration order.
* Python3 removed execfile
* More test fixes.
Fixes #2122 .
2013-07-05 20:17:23 +02:00
Justin Vincent
c01ed96b24
PY3 xrange, np.divide, string.uppsercase, None comparison
...
Fixes #2108 .
2013-06-30 14:37:06 +02:00
Olivier Grisel
e94b774962
FIX: restore numpy 1.3.0 compat with np.divide fix
2013-05-04 19:08:22 +02: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
Olivier Grisel
1967a0b323
P3K use six to have a python 2 & 3 compatible code base
2013-02-09 18:08:44 +01:00
Anze
6d0ffb1e30
P3K: Cannot compare list to tuple.
2012-11-14 07:23:08 +01:00
Andreas Mueller
4104f969a5
FIX revert useless change.
2012-11-01 08:14:26 +00:00
Andreas Mueller
5cfb764623
COSMIT do less deprecated things.
2012-10-31 15:36:03 +00:00
Gael Varoquaux
d7152a529f
BUG: cater for dev versions of numpy
2012-10-13 19:17:07 +02:00
Andreas Mueller
d6655fa8e0
FIX for len(result) > minlength
2012-10-12 09:16:54 +01:00
Andreas Mueller
04b31e23ef
ENH simplify as suggested by @larsmans.
2012-10-11 21:30:55 +01:00
Andreas Mueller
f9df471d3e
FIX bincount mess I made in kmeans.
2012-10-11 19:20:14 +01:00
Andreas Mueller
d50c0cb06c
COSMIT pep8
2012-10-02 17:31:00 +01:00