Guillaume Lemaitre
4c33ea2ee0
[MRG+1] EHN/DOC Make error msg about Memory more explicit ( #8865 )
2017-05-17 22:51:16 +10:00
Guillaume Lemaitre
e3c9ae204f
[MRG+1] DOC improve description and consistency of random_state ( #8689 )
...
* DOC improve description of random_state in train_test_split
* DOC Make random_state consistent through documentation
* FIX reverse doc mistake
* FIX address comment of Tom
* DOC address comments
* DOC remove empty line
* DOC remove unecessary white spaces
2017-04-05 17:43:21 -07:00
Samuël Weber
ec4def81d9
[DOC] Modify default normalize from False to True for some linear model (issue #1650 ) ( #8640 )
2017-03-30 07:12:22 -04:00
Rameshwar Bhaskaran
8c7ab1711d
Added check_X_y to lasso_stability_path() ( #7534 )
2017-03-03 21:18:09 +01:00
MarcoFalke
e1ca40dd04
DOC Fix default value in RandomizedLasso ( #8455 )
2017-02-26 23:12:21 +11:00
Ping-Yao, Chang
f952e4355c
[MRG+1] add docs that C can receive array in RandomizedLogisticRegression ( #6537 )
...
* doc: state that parameter C can receive an array
* add more details in doc, and check the dim of C
* doc: state that parameter C can receive an array
* add more details in doc, and check the dim of C
* a little modification
* minor modifications and make line length less than 79 characters
* remove the backslash and correct typos
* meet PEP8's E128 requirement
* use .format and add a test
2017-02-18 07:38:11 +01:00
Aman Dalmia
38d59c7b5a
[MRG+2] ENH: used SelectorMixin in BaseRandomizedLinearModel ( #8263 )
...
* ENH: used SelectorMixin in BaseRandomizedLinearModel
* FIX: added get_support to return _get_support_mask
* FIX: added docstring for get_support()
* DOC: added bug fix entry to whats_new
* FIX: removed redundant get_support()
2017-02-13 13:10:18 +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
Shota
e2a2b4d403
Fix typos ( #6942 )
2016-06-27 18:13:49 +02:00
Thierry Guillemot
78a674875e
Correct the deprecation of the random_integers numpy function. ( #6712 )
2016-04-26 16:08:48 +02:00
Camilo Lamus
bf81451dc6
Fix consistency in docs and docstring
2016-03-11 17:04:36 -05:00
Camilo Lamus
2e7d9ad3a4
FIX: improve docs of randomized lasso
2016-03-11 17:04:36 -05:00
giorgiop
140a5acda8
MAINT depr of center_data, normalize in linear_model
2016-02-17 14:26:50 -05:00
saurabh.bansod
4022c68031
minor fix in RandomizedLasso API docs
2016-01-23 16:37:36 +05:30
Nick James
998848a22e
fix for #5725 (makes sure numpy array is not compared to string, which will fail in future versions of numpy)
2015-11-16 13:23:36 -08:00
Raghav R V
e3afc0e8c9
MAINT move custom error/warning classes into sklearn.exceptions
...
ENH NonBLASDotWarning -> EfficiencyWarning; Improve error message
DOC Add exceptions module to modules/classes.rst
MAINT Move ConvergenceWarning, UndefinedMetricWarning et al into exceptions
MAINT Remove ChangedBehaviorWarning from base
DOC/FIX Improve DataConversionWarning's docstring
2015-10-19 22:35:35 +02:00
Raghav R V
a87011262a
FIX precision to float64 across the codebase
2015-10-16 11:20:29 +02:00
Olivier Grisel
f1c5924b36
ENH better error message for estimators with ensure_min_* checks
2015-10-01 14:44:05 +02:00
Vighnesh Birodkar
2f099334f9
MAINT deprecate 1d input arrays for all estimators
...
Passing 1D arrays to check_array, without setting `ensure_2d` to false now
raises a deprecation warning before reshaping it. This will later throw an
error.
All Scaler classes also throw warnings when 1D arrays are passed.
All unit tests/doctests are modified to ensure that no 1D arrays are passed,
except in explicit 1D array tests where the warnings have been silenced.
Additional tests are also included which check for different 1D array cases.
2D array tests with one samples and one features are also added and where
they failed, `check_array` call has been modified to give a more useful error
message
2015-09-09 15:49:58 +02:00
Andreas Mueller
434ee958aa
test for accepted sparse matrices
2015-08-26 22:00:55 -04:00
Andreas Mueller
0650d5502e
DOC adding backlinks to docstrings
2015-06-03 00:24:04 -04:00
Andreas Mueller
cd5166e82f
make check_array convert object to float.
...
fix dtype check, add test. unfriend all multi-output estimators on facebook.
try to fix what is happening to y (by doing nothing to y)
make test work...
Make everything accept object y or say "invalid label"
fix multioutput linear models
add test for sensible error message.
2015-02-15 12:13:41 -05:00
Raghav R V
abd31d2cad
MAINT Make uniform the error raised for not fitted condition
2015-01-12 00:33:40 +05:30
trevorstephens
7c50e6c8eb
various docstring fixes for web docs
2014-11-30 17:59:42 -08:00
Joel Nothman
b3bdb08964
DOC fix formatting of attributes etc. in docstrings
2014-07-28 19:04:59 +10:00
Andreas Mueller
6e2a83b4e1
remove check_arrays stuff and old input validation
2014-07-20 13:31:45 +02:00
Gael Varoquaux
e42ecd1466
ENH: transformers work on non ndarray subclasses
2014-07-17 11:44:08 +02:00
Andreas Mueller
d146d23d93
Catch ConvergenceWarning in RandomizedL1
2014-07-16 15:55:09 +02:00
Lars Buitinck
cdd2279c09
ENH fix astype usage to prevent copying
...
Removed where possible; using copy=False (from utils.fixes) where needed.
Also some C integer type fixes to gradient boosting.
2014-06-18 11:01:28 +02:00
Andrew Ash
57f906f63c
Typo: thepath -> the path
2014-04-21 11:26:00 +01:00
Lars Buitinck
c997cdee9f
COSMIT pep8 + full stop police
...
metrics/tests/test_score_objects.py made stricter by replacing . with \.
in regular expressions.
2014-02-01 15:28:53 +01:00
jnothman
a36c72a8be
DOC fix documentation to match default value
2014-01-20 10:43:30 +11:00
Denton Cockburn
fc7aeee8d6
DOC missing stuff in randomized_l1 module
...
Fixes #2092 .
2013-06-30 14:17:46 +02:00
Jaques Grobler
89f29ba8da
DOC Fix references to missing examples
2013-05-22 11:13:59 +02:00
Jaques Grobler
2ffb484adb
COSMIT pep8
2013-05-04 10:43:39 +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
Stefano Lattarini
67ece78da4
COSMIT various typofixes
...
As suggested by codespell <https://github.com/lucasdemarchi/codespell >
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
2013-04-11 21:22:14 +02:00
Mikhail Korobov
eae18a3784
PY3 fix metaclasses. See #1829 .
2013-04-04 01:07:20 +06:00
Andreas Mueller
a1d4d184fe
COSMIT pep8
2013-04-02 13:30:55 +02:00
Lars Buitinck
cdb9ef2d58
COSMIT prevent a copy in randomized LR
...
Also remove some superseded Py3 compat code.
2013-03-17 12:30:17 +01:00
Olivier Grisel
1967a0b323
P3K use six to have a python 2 & 3 compatible code base
2013-02-09 18:08:44 +01:00
Lars Buitinck
57b86fc434
P3K use six.string_types and six.PY3
2013-02-03 20:12:42 +01:00
unknown
c44d63cc31
changed wording in linear model docs about Normalized. It was frustrating me haha
2013-01-29 11:32:48 -05:00
Andreas Mueller
754c2d9533
COSMIT pep8
2012-12-22 16:48:17 +01:00
Andreas Mueller
a06c367ba2
ENH sparse matrix support in randomized logistic regression
2012-10-16 14:34:48 +02:00
Andreas Mueller
2ec38b31e1
ENH rudimentary testing of tranformer objects
2012-09-01 18:25:05 +02:00
Andreas Mueller
1aaa7ac140
TST check that transformers fail gracefully on sparse input
2012-08-26 16:01:33 +02:00
Andreas Mueller
66d00f4748
MISC trying to remove scale_C
2012-05-05 21:57:04 +02:00
Andreas Mueller
667ef37714
DOC move references from Notes to References section in docstrings
2012-03-04 15:16:51 +01:00
GaelVaroquaux
b81b25eb16
Faster hierarchical cluster for very dense trees
...
On the specific example on which I am working this change went from
26.11s to 0.86.
2012-02-25 21:02:45 +01:00