Thomas J. Fan
d4aad64b1e
MNT Update to black 22.3.0 to resolve click error ( #22983 )
...
* MNT Update to black 22.3.0 to resolve click error
* STY Update for new black version
2022-03-29 12:04:41 +02:00
yiyangq
2c5058e0d6
TST Replace pytest.warns(None) in feature_extraction/tests/test_text.py ( #22962 )
2022-03-27 14:37:40 -04:00
Dimitri Papadopoulos Orfanos
ee5a1b69d1
DOC, MNT Typos found by codespell ( #22906 )
2022-03-20 19:16:39 +01:00
Dimitri Papadopoulos Orfanos
3d4ee9e9dc
MNT Remove utf-8 encoding declarations ( #21260 )
...
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2022-03-14 17:59:36 +01:00
Jérémie du Boisberranger
d135a0f8db
MNT additional cleaning in test for 1.1 ( #22661 )
2022-03-03 10:31:02 +01:00
Thomas J. Fan
f1d3417b08
MNT Drops Python 3.7 in CI, wheel building, and docs ( #22617 )
...
* MNT Drops Python 3.7
* MNT Bump NumPy and SciPy
* FIX Fix build
* FIX Bump versions improved
* DOC Fixes numpy version [pypy]
* BLD [pypy] [icc-build]
* Update docs
* MAINT use scipy.optimize.LinearConstraint in test
* MAINT scipy 1.1.0 related code clean-up
* scipy>=1.3.2 in pyproject.toml's build deps
* [cd build]
* DOC Adds comment about pypy
* MAINT remove _astype_copy_false
* FIX Update check for python version in setup.py
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2022-02-28 18:23:02 +01:00
Thomas J. Fan
1fc86b6aac
MNT Update black to stable version ( #22474 )
2022-02-15 11:36:26 +01:00
Thomas J. Fan
4ff0767087
ENH Better error message for check_scalar ( #22218 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2022-02-11 16:15:30 +01:00
Thomas J. Fan
9f85c9d449
TST Better info when checking for no warnings in tests ( #22362 )
2022-02-03 11:42:48 +01:00
Hannah Bohle
4b5ea125ed
FIX Remove validation in FeatureHasher's __init__ ( #21573 )
...
Co-authored-by: Maren Westermann <maren.westermann@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-12-14 18:51:22 +01:00
Guillaume Lemaitre
63a1a31a17
FIX TfidfVectorizer should not assign in __init__ ( #21832 )
2021-12-09 15:37:15 -05:00
Angus L'Herrou
80ebe21ec2
DOC Fix docstring for ngram_range parameter in Vectorizers ( #21844 )
2021-11-30 17:19:29 -05:00
Guillaume Lemaitre
1ce5589c1b
TST do not skip test if not PyPy ( #21834 )
2021-11-30 15:02:27 +01:00
Olivier Grisel
dd3d034c3e
MAINT lower memory usage of test_pickling_vectorizer ( #21550 )
2021-11-04 11:47:38 +01:00
Jérémie du Boisberranger
1f8825c8dd
MNT Centralize common cython compiler directives ( #21512 )
2021-11-03 13:26:23 +01:00
Jérémie du Boisberranger
7aabe53e73
FIX CountVectorizer: check upper case in vocab only in fit ( #21251 )
2021-10-20 17:16:32 +02:00
Alek Lefebvre
c9525d1600
FIX raise error for max_df and min_df greater than 1 in Vectorizer ( #20752 )
...
Co-authored-by: Alek Lefebvre <info@aleklefebvre.ca>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-10-12 22:56:05 +02:00
Dimitri Papadopoulos Orfanos
10a5468e90
DOC Remove some str/unicode leftovers from Python 2 ( #21270 )
...
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2021-10-08 13:55:15 +02:00
Shao Yang Hong
8ad7c3f02d
DOC Clarify use_idf in TfidfTransformer/TfidfVectorizer docstrings ( #21213 )
2021-10-07 17:42:58 +02:00
Helder Geovane Gomes de Lima
31c66a9c09
DOC Remove unused import from example ( #21253 )
2021-10-06 10:21:15 -04:00
Juan Martin Loyola
23afd5d95c
DOC Ensures that PatchExtractor passes numpydoc validation ( #21233 )
2021-10-04 09:52:32 -04:00
Dimitri Papadopoulos Orfanos
f71c031314
DOC Typos found by codespell ( #21069 )
2021-09-17 19:04:54 +02:00
EricEllwanger
32c5d05cbd
DOC - Ensure HashingVectorizer passes numpydoc validation ( #21047 )
...
Co-authored-by: frellwan <frellwan@hotmail.com>
2021-09-15 13:34:40 +02:00
Thomas J. Fan
4abd9f2d9e
API Implements get_feature_names_out for transformers that support get_feature_names ( #18444 )
...
Co-authored-by: Andreas Mueller <andreas.mueller@columbia.edu>
Co-authored-by: Andreas Mueller <andreasmuellerml@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Olivier Grisel <olivier.grisel@gmail.com>
Co-authored-by: Christian Lorentzen <lorentzen.ch@gmail.com>
2021-09-07 10:56:57 +02:00
baam
da1079046c
DOC Ensures that FeatureHasher passes numpydoc validation ( #20932 )
2021-09-06 10:22:57 +02:00
Thomas J. Fan
cfc1695dec
BUG Corrects tag in TfidfTransformer ( #20919 )
2021-09-03 11:08:21 +02:00
Thomas J. Fan
4cc9fece8b
CLN Removes unneeded return
2021-09-01 18:04:55 -07:00
baam
7798fd829d
DOC Ensures that DictVectorizer passes numpydoc validation ( #20837 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-08-31 18:57:38 +02:00
bthirion
0cd6664b11
FIX take into account mask in the ordering in grid_to_graph ( #18964 )
2021-08-30 10:04:44 +02:00
Olivier Grisel
1398738f1b
Missing feature_names_in_ in tf-idf transformer's docstring ( #20846 )
2021-08-26 12:36:17 -04:00
Jeff Zhao
64d54483ed
FIX raise a TypeError when the values type is not supported in DictVectorizer ( #19520 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
2021-07-30 17:46:18 +02:00
JVM
1db03ce68b
DOC Ensures numpydoc validation for CountVectorizer and TfidfVectorizer/Transformer ( #20403 )
...
Co-authored-by: Joao Vitor Mascarenhas <joaovitormascarenhas@MacBook-Pro-de-Joao.local>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-07-20 19:00:10 +02:00
Thomas J. Fan
3ae7c76153
STY Enables black with experimental_string_processing=true ( #20412 )
2021-06-29 09:47:04 +02:00
Tomás Moreyra
9682692560
DOC Ensures that TfidfTransformer passes numpydoc validation ( #20379 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-06-26 21:37:33 +02:00
Juan Martin Loyola
0ad2b5b0a9
Remove unused variables in TfidfTransformer's transform method ( #20302 )
2021-06-18 20:17:32 +02:00
Thomas J. Fan
351ace7935
STY Uses black's with target_version >= 3.7 ( #20294 )
2021-06-17 15:50:27 -04:00
Thomas J. Fan
82df48934e
MNT Applies black formatting to most of the code base ( #18948 )
2021-06-17 14:21:09 -04:00
Guillaume Lemaitre
95afec8742
TST create instances from exotic estimators for docstring params check ( #20243 )
...
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-06-11 18:38:22 +02:00
Jérémie du Boisberranger
777ac15e67
MNT add n_features_in_ through the feature_extraction module ( #20180 )
2021-06-01 19:14:04 +02:00
Alihan Zihna
aa898de885
TST Changes assert to pytest style in svm, manifold, linear_model, feature_extraction, decomposition ( #19999 )
...
Changed the assert_raises, assert_raise_message, assert_warns in the following files:
* test_factor_analysis.py
* test_text.py
* test_bayes.py
* test_ransac.py
* test_sag.py
* test_locally_linear.py
* test_bounds.py
* test_sparse.py
* test_svm.py
2021-05-22 20:55:22 +02:00
Tom Dupré la Tour
f6e6ad2d9e
MNT clean futurewarning for 1.0 | _deprecate_positional_args ( #20002 )
...
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2021-05-14 11:30:27 -04:00
Guillaume Lemaitre
eecde00c7a
FIX support multiple str/single category with dense DictVectorizer ( #19982 )
2021-04-27 11:38:53 +02:00
Zito Relova
cc13313b26
TST remove assert_warns in feature_extraction/tests/ module ( #19439 )
2021-02-18 16:43:54 +01:00
Zito Relova
769da3d51f
FIX CountVectorizer does not check for lowercase in vocabulary ( #19401 )
2021-02-12 10:03:39 +01:00
Thomas J. Fan
863c552c44
CLN Fixes PendingDeprecationWarning in CountVectorizer ( #19299 )
...
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-01-30 13:33:27 +01:00
Thomas J. Fan
6a9c2869d2
DOC Fixes formating in feature_extraction module ( #19274 )
2021-01-27 10:48:00 +01:00
Olivier Grisel
d626d77850
Add @fails_if_pypy to test_nonnegative_hashing_vectorizer_result_indices ( #19173 )
2021-01-14 16:35:59 +01:00
ly648499246
1bb0306a13
FIX An overflow issue in HashingVectorizer ( #19035 )
...
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
Co-authored-by: amzliun <amzliun@amazon.com>
2021-01-11 22:29:05 -05:00
Erin R Hoffman
05ce8141bc
FIX raise an error in CountVectorizer with a custom token pattern that captures several group ( #15427 )
...
Co-authored-by: Gangesh Gudmalwar <gangesh.gudmalwar@team.telstra.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2020-10-21 12:43:45 +02:00
N. Haiat
896d4fad10
DOC Fix documentation of default values in sklearn.feature_extraction.text.py ( #18360 )
...
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2020-09-24 11:21:56 -04:00