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
Albert Villanova del Moral
647fcb1ac1
DOC Fix A to uppercase in See Also docstring section ( #18332 )
2020-09-04 10:35:01 -04:00
Chiara Marmo
320b4c61f9
FEA Add iterable values support for dictvectorizer ( #17367 )
...
Co-authored-by: Peng Yu <peng.yu@shopify.com>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Joel Nothman <joel.nothman@gmail.com>
2020-08-01 22:10:36 +10:00
tijanajovanovic
19d7b1f062
DOC cleaning parameter docstrings in feature_extraction/image.py ( #17900 )
...
Co-authored-by: gagileo <babic.dr@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2020-07-31 17:11:42 +02:00
Thomas J. Fan
06bb4864e6
FIX Fixes CountVectorizer sample invariance with max_features ( #18016 )
2020-07-28 13:49:32 +02:00
david-cortes
5d3a19d3ec
DOC Missing input_type to FeatureHasher ( #17922 )
2020-07-15 18:07:50 +10:00
Probinette4
e51a8ddb42
DOC update to text/CountVectorizer token_pattern parameter default value ( #17898 )
...
* Updated documenation in CountVectorizer function for the token_parameter default value
* Removed the r before the string, error in flake8
* Additional change to see if flake8 error solved
Co-authored-by: Preston <pkrobinet@presby.edu>
2020-07-12 12:03:26 -04:00
Ruby Werman
ff293f0d67
MNT Remove code for scipy legacy version ( #17708 )
2020-06-24 21:07:39 +02:00
Thomas J. Fan
7cc0177f8e
MNT Replaces numpy alias with builtin typse ( #17687 )
...
* MNT Replaces numpy alias with builtin typse
* STY Lint error
2020-06-24 16:51:51 +02:00
Saurabh Jain
00bc681e10
DOC shorten class links in docstring using tilde ( #17470 )
...
* added tilde to bunch of files
* Updated _kde.py
Changed array_like to array-like
* Updated _kde.py
Removed space
* updated _kde.py
Added full stop
* PEP8
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2020-06-16 10:44:13 +02:00
yagi-3
58168178e7
DOC Update preprocessor in CountVectorizer ( #17413 )
2020-06-01 16:03:23 -04:00
Nicolas Hug
ac8cbb3799
[MRG] More deprecation for 0.24 ( #17142 )
...
* normalize_components in sparsePCA
* changed default strategy of Dummy to prior and removed outputs_2d ttribute
* removed usage of None to drop estimator in ensemble and behaviour param of IsolationForest
* remove support for drop=None in Voting
* removed some warning decorators
* remove feature_extraction.extract_patches
* removed VectorizerMixin and copy parameter from TFIDFVectorizer
* kernel.set_params now raises attributeerror
* removed fig from plot_partial_dependence
* removed iid parameter of search estimators
* removed brier_scorer
* raise error in split when shuffle is False and random_state is not None
* removed MultiOutputEstimator
* removed base classes of NaiveBayes
* removed drop from pipeline
* removed utils in random_projection
* removed presort and classes_ in trees
* flake8
* fixed some tests
* flake
* fixed docstring
* fixed other one
* some left
* mmmm
2020-05-20 16:04:14 -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
Ekaterina Borovikova
4755ae76d2
DOC Add versionchanged and versionadded for v0.20 ( #16199 )
...
Co-Authored-By: Adrin Jalali <adrin.jalali@gmail.com>
Co-Authored-By: Chiara Marmo <cmarmo@users.noreply.github.com>
Co-Authored-By: Nicolas Hug <contact@nicolas-hug.com>
2020-04-26 09:29:36 -04:00
Adrin Jalali
6cd77c2c50
API make feature_extraction's constructors' params kwonly ( #16866 )
2020-04-15 12:11:26 -04:00
Noa Tamir
5e2d74bc5f
DOC add versionadded versionchanged v0.19 ( #16233 )
...
* added v0.19.1 and wip v0.19
* finished adding vchanged strings for v0.19
Towards #15426
@adrinjalali #wimlds #scikitlearnsprint
* fixing linter issues
* caught line issues with flake8
* caught the last line issue
* added lines and cleaned gtiignore
* Update sklearn/multiclass.py
Co-Authored-By: Thomas J Fan <thomasjpfan@gmail.com>
* Update sklearn/multiclass.py
Co-Authored-By: Thomas J Fan <thomasjpfan@gmail.com>
Co-authored-by: Thomas J Fan <thomasjpfan@gmail.com>
2020-04-15 10:36:51 +02:00
Baptiste Maingret
1735d3df7f
DOC Improve CountVectorizer and TfidfVectorizer return type ( #16790 )
2020-04-05 11:38:02 +02:00
Lukas Kemkes
2a5d40f5d1
DOC Correct formula in TfidfTransformer docstring ( #16699 )
2020-03-16 10:57:17 +01:00
Nicolas Hug
d205638475
MNT Introduction of n_features_in_ attr with _validate_data mtd ( #16112 )
2020-02-29 09:05:11 -05:00
Roman Feldbauer
9b39c4c4d2
TST Fix unreachable code in tests ( #16110 )
2020-02-16 14:41:26 +01:00
Adrin Jalali
42706ebf2d
MNT CI dropping python-3.5 ( #15106 )
...
* dropping python-3.5
* fix install guide
* fix setup.py
* fix circleci
* advanced_installation
* index.html
* readme
* pyparsing.py
* remove clean_warning_registry
* 1.13.1 and 1.19.1
* don't use 16.04
* 18.04 libatlas-dev -> libatlas-base-dev
* min pillow version for 3.6 is 4.2.1
* echo commands
* fix conflict, and 32 bit
* fix conflict for circle
* fix scikit-image version dep
* mark tests as xfail on 32bit py3.6
* move to 1.13.3 min numpy version, and simplify old code
* remove the rest of _object_dtype_isnan usages
* Revert "remove the rest of _object_dtype_isnan usages"
This reverts commit c6e867ea1f .
* fix issues raised by jeremy
* minor fix
* minor fixes mentioned by Olivier
2020-02-10 12:28:42 +01:00
Adrin Jalali
5c36df6098
MNT remove check for deprecated behavior in test.py ( #16109 )
2020-01-24 14:45:47 +01:00
@nkish
07ceb6e255
DOC follow doc guideline in ensemble an feature_extraction modules ( #15975 )
2020-01-03 15:32:54 +01:00
Thomas J Fan
9accce5519
BUG Adds attributes back to check_is_fitted ( #15947 )
...
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2019-12-27 11:46:27 +01:00
Guillaume Lemaitre
9408203ac4
COSMIT use np.iinfo to define the max int32 ( #15960 )
2019-12-24 09:41:21 +01:00
Reshama Shaikh
cc8d2d26b8
DOC add versionadded directive to some estimators ( #15849 )
2019-12-19 14:07:03 +01:00
Thomas J Fan
13134a884b
Fix imports in pip3 ubuntu by suffixing affected files ( #15891 )
2019-12-18 10:09:48 +08:00
Santiago M. Mola
7ee0ae861b
ENH CountVectorizer: sort features after pruning by frequency ( #15834 )
2019-12-10 14:01:30 +01:00
Hailey Nguyen
25a88b4a2b
DOC docstrings validation in TfidfVectorizer ( #15509 )
2019-11-15 21:32:17 +01:00
Mina Naghshhnejad
859953023f
DOC CountVectorizer documentation update ( #15498 )
2019-11-13 21:10:38 +01:00
Natasha Borders
3ca653af12
DOC adding versionadded labels to several estimators ( #15476 )
2019-11-04 18:25:24 +11:00
norvan
77aec1fb8d
[MRG] Fix OverflowError on DictVectorizer ( #15463 )
2019-11-03 08:55:21 +11:00
Nicolas Hug
19ad136223
MNT Replace DeprecationWarning with FutureWarning ( #15080 )
...
* bruteforce renaming
* WIP
* WIP
* some more
* removed weird line
* update -Werror
* testiforest
* again
* Fixed some tests
* fixed some tests
* removed -Werror
* fixed test_docstring_param issue
* fixed some tests
* some more
* renamed to SklearnDeprecationWarning
* pep8
* updated docs
* pep8
* merge
* changed to FutureWarning
* fixes
* Update doc/developers/tips.rst
Co-Authored-By: Adrin Jalali <adrin.jalali@gmail.com>
* avoid duplicates
* fixed warning for deprecations
* Still make CI break if DeprecationWarning isn't caught
* updated one warning
* fixed test
* fixed some renamings
* updated new dep warnings
* fixed bad import
* ignore warnings
* update again
* ignore futurewarning when walking packages
* Fixed test
* pep8
* Added whatsnew
2019-10-29 15:39:26 +01:00
Nicolas Hug
b92455a6b2
MAINT Deprecate all of utils.testing except all_estimators ( #15367 )
2019-10-28 17:28:56 +01:00
Thomas J Fan
bb3b3f9261
MNT Make modules private in feature_extraction ( #15321 )
2019-10-25 16:41:13 -04:00
Thomas J Fan
fbfb4da6b3
TST/CI Fixes import for hashing test for PyPy ( #15170 )
2019-10-13 14:43:40 +02:00
federicopisanu
1edecd695b
DOC example for feature_extraction.text.TfidfTransformer ( #15199 )
2019-10-13 14:07:51 +02:00
Roman Yurchak
4ef679b082
TST Fix PyPy CI due to _hashing import in #14605
2019-10-10 12:16:30 +02:00
Thomas Schmitt
9b045d4bde
MNT Add seed parameter to private FeatureHasher transform helper ( #14605 )
2019-10-07 09:10:42 -04:00
Daniel Grady
aada3ead7e
FIX a bug in feature_extraction.text.strip_accents_unicode ( #15100 )
2019-10-03 16:38:54 +02:00
Adrin Jalali
0eebade264
DOC docstring (shape= -> of shape) ( #14640 )
2019-10-02 20:54:32 -04:00
Frederic Haase
71d0c9eeef
DOC Improve ngram_range doc ( #15016 )
2019-09-19 08:31:48 +10:00
Chiara Marmo
bfdf2ad428
DOC Fix some sphinx warnings ( #14967 )
2019-09-12 22:42:22 +02:00
getgaurav2
96ef6b80ba
ENH text vectorizers should raise warnings when user params will be unused ( #14602 )
2019-09-06 11:08:38 +10:00
Andreas Mueller
03ea20db0f
Fix mixin inheritance order, allow overwriting tags ( #14884 )
2019-09-05 10:13:30 +02:00
Samesh Lakhotia
a05c8d89d9
MNT Fix assert raises in sklearn/feature_extraction/tests/ ( #14694 )
2019-08-21 15:36:35 +08:00
Andreas Mueller
92af3dabbb
MAINT simplify check_is_fitted to use any fitted attributes ( #14545 )
2019-08-13 22:09:07 +02:00
Guillem García Subies
deec2baf00
[MRG] Deprecated 'copy' in TfidfVectorizer.transform ( #14520 )
...
* Deprecated 'copy' in TfidfVectorizer.transform
* Update text.py
* Update text.py
* Update text.py
* Added test
* Update sklearn/feature_extraction/tests/test_text.py
Co-Authored-By: Andreas Mueller <t3kcit@gmail.com>
* Update test_text.py
* Update test_text.py
* Update text.py
* Update text.py
* Update text.py
* Update v0.22.rst
* Update doc/whats_new/v0.22.rst
Co-Authored-By: Joel Nothman <joel.nothman@gmail.com>
* Update test_text.py
* Update text.py
* Update text.py
* Update text.py
* Update test_text.py
* Update doc/whats_new/v0.22.rst
Co-Authored-By: Joel Nothman <joel.nothman@gmail.com>
* Update v0.22.rst
2019-08-07 12:20:41 -04:00
Dillon Niederhut
53f76d1a24
FIX remove lambdas from text preprocessing ( #14430 )
2019-08-01 10:23:10 -04:00
Biswadip Mandal
ef8e3c980f
DOC TfidfVectorizer, CountVectorizer fixed_vocabulary_ documentation ( #14372 )
2019-07-15 15:31:47 +08:00