Juan Martin Loyola
23afd5d95c
DOC Ensures that PatchExtractor passes numpydoc validation ( #21233 )
2021-10-04 09:52:32 -04:00
bthirion
0cd6664b11
FIX take into account mask in the ordering in grid_to_graph ( #18964 )
2021-08-30 10:04:44 +02:00
Thomas J. Fan
3ae7c76153
STY Enables black with experimental_string_processing=true ( #20412 )
2021-06-29 09:47:04 +02:00
Thomas J. Fan
82df48934e
MNT Applies black formatting to most of the code base ( #18948 )
2021-06-17 14:21:09 -04: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
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
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
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
Adrin Jalali
6cd77c2c50
API make feature_extraction's constructors' params kwonly ( #16866 )
2020-04-15 12:11:26 -04:00
@nkish
07ceb6e255
DOC follow doc guideline in ensemble an feature_extraction modules ( #15975 )
2020-01-03 15:32:54 +01:00
Reshama Shaikh
cc8d2d26b8
DOC add versionadded directive to some estimators ( #15849 )
2019-12-19 14:07:03 +01:00
Thomas J Fan
bb3b3f9261
MNT Make modules private in feature_extraction ( #15321 )
2019-10-25 16:41:13 -04:00
Eric Ndirangu
f6923a2971
Fixes #10548 random state description in feature-extraction ( #14155 )
...
* Changed the Docstring for random_state
* Changed the Docstring for random_state
* Added virtual env to git ignore
* Removed my virtual environment path in the sklearn directory
* Changed lines exceeding 79 characters in a line
* Removed trailing whitespace
* Removed my virtual env in gitignore
* Removed trailing whitespace
* Reinserted white line
* Added appropriate phrase to explain the random_state parameter
2019-06-26 09:31:43 +10:00
Thomas J Fan
2e7e06b78f
[MRG] Doctest with print change only adjusts default options for doctest ( #13991 )
2019-06-01 10:53:45 +02:00
Stephen Cowley
612a04e4e4
DOC Fix more formatting inconsistencies ( #13787 )
2019-05-05 22:05:58 +08:00
jeremiedbb
7a0995128b
DOC Fix extract_patches_2d doctest failure ( #13249 )
2019-02-26 03:07:21 +11:00
Hanmin Qin
21fcc44729
MNT Remove failed tests in extract_patches_2d ( #13238 )
2019-02-25 09:33:35 +01:00
Andreas Mueller
ab2f539a32
API: Estimator tags ( #8022 )
2019-02-23 22:54:41 +01:00
Cat Chenal
3df0c1971a
DOC Adds an example to PatchExtractor ( #12819 )
...
* Finalizes fix for #12202 from abandonned PR by @parul-l
* Completes 12202 fix abandoned by @parul-l
* Completes 12202 fix abandoned by @parul-l
* Extends 12202 fix over feature_extraction/image.py
* Closes #12202 ; white space removal
* Closes #12202 ; white space removal2
* Closes #12202 ; 3.5 compliance; added >>> in docstring code.
* Closes #12202 ; indentation discrep.
* Closes #12202 ; indentation discrep.2
* Example output formating; @jnotham
* Example output formating; forgot flake8
* Closes #12202 ; Removed excessive indentation in docstring (#wimlds)
* Closes #12202 ; Fixed inconsistent indentation in docstring (#wimlds)
* Closes #12202 (#wimlds); intentation, v3.5 compliance
* Closes #12202 (#wimlds); Output format issue solved with addition of # doctest: +NORMALIZE_WHITESPACE +DONT_ACCEPT_BLANKLINE +ELLIPSIS for print statements.
* Closes #12202 (#wimlds); Output format issue solved with addition of # doctest: +NORMALIZE_WHITESPACE +DONT_ACCEPT_BLANKLINE for print statements.
* Closes #12202 (#wimlds); Testing doctest direc.: removed DONT_ACCEPT_BLANKLINE (@jnothmam, @reshamas)
* Closes #12202 (#wimlds); Removed blank lines in doctest example.
2019-01-31 10:18:24 +01:00
Dowon
0e5feb6bf7
DOC improving import convenience in class examples ( #12846 )
2018-12-23 09:37:43 +08:00
Naoya Kanai
a1565241a4
Minor FIX Use tuple indices to access ndarray and avoid numpy FutureWarning ( #11701 )
2018-07-29 14:10:01 +10:00
Nicolas Hug
175bedbba1
DOC Fixed doc issues for decomposition and feature_extraction modules ( #11413 )
2018-07-04 21:34:55 +08:00
Varun Agrawal
6eb218e301
[MRG + 1] Fix for image.extract_patches_2d when # of patches requested > all possible patches ( #10101 )
2017-11-25 16:31:58 +01:00
Naoya Kanai
6579220588
[MRG+1] Drop NumPy < 1.8 ( #8874 )
2017-06-07 17:06:06 +02: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
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
Preston Parry
58b35d8b9f
DOC Updates sklearn naming convention for consistency ( #7268 )
...
* Updates sklearn naming convention for consistency
* minor grammar fix
* clarifies source of string vs. function cosine
2016-08-29 08:20:13 +10:00
Andreas Mueller
0650d5502e
DOC adding backlinks to docstrings
2015-06-03 00:24:04 -04:00
MechCoder
eb660edbf3
FIX: Raise error when patch width/height is greater than image width/height
2014-11-21 10:23:47 -05:00
Andreas Mueller
f7549fd2ba
Refactor input validation.
2014-07-20 10:40:04 +02:00
lesteve
0239310549
Remove a couple more 'using a non-integer number instead of an integer DeprecationWarning'
2014-07-18 17:05:46 +01:00
lesteve
fa50e628dd
Remove 'DeprecationWarning: using a non-integer number instead of an integer will result in an error in the future' warnings
2014-07-18 15:16:56 +01: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
mjbommar
123aa8a7a8
Adding Notes section to img_to_graph and grid_to_graph re: np.matrix->np.ndarray
2014-05-24 15:02:58 -04:00
mjbommar
d8099d6d27
Replacing the non-test .todense() methods with .toarray()
2014-05-20 21:16:34 -04:00
Lars Buitinck
b97fb3c5fc
MAINT drop support for NumPy < 1.6.1
2014-03-02 20:13:57 +01:00
Lars Buitinck
77695ee27a
COSMIT pep8
2013-07-11 11:50:23 +02:00
jnothman
d6e9598abe
Merge pull request #1880 from NicolasTr/patch_extractor_float_max_patches
...
Support float values for max_patches in PatchExtractor.transform
2013-05-12 02:20:13 -07: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
Nicolas Trésegnie
1816dee58c
Fix float value support for max_patches in PatchExtractor
2013-04-21 15:30:58 +02:00
Lars Buitinck
85ec0fd1ae
P3K death to the print statement
2013-02-11 23:11:57 +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
Andreas Mueller
754c2d9533
COSMIT pep8
2012-12-22 16:48:17 +01:00
Alexandre Gramfort
8078d7077f
TST : use assert_true and not assert in test
2012-11-29 13:10:41 +01:00
Michael
68a788f9c1
Changes in documentation and notation
2012-11-29 13:10:40 +01:00
Michael
b5f347eb08
removed stuff i commented out
2012-11-29 13:10:40 +01:00
Michael
e19d70f6fa
Now replaced max_patches part by fancy indexing
2012-11-29 13:10:40 +01:00
Michael
6394b35b6e
Now added extract_patches for random extraction as well
2012-11-29 13:10:40 +01:00
Michael
236c55126c
Added strided patch extractor to feature_extraction/image. Extracts patches 16x faster on the MiniBatchDictionaryLearning example
2012-11-29 13:10:40 +01:00