Commit Graph

367 Commits

Author SHA1 Message Date
Joshua Hedlund b747bacfa1
DOC Fix minor typo - "there" to "their" (#26346) 2023-05-08 09:09:19 +02:00
Veghit 9d00015776
DOC several small typo fixes in the documentation rst files (#25829)
Co-authored-by: Itay <itayvegh@gmail.com>
2023-03-13 10:49:21 +01:00
Dayne 96625cfbc0
MAINT Update pyparsing.py to use bool instead of double negation (#25724) 2023-02-28 21:32:20 +01:00
Artur Hermano e2dd39194d
DOC writing fixes in text_analytics/working_with_text_data.rst (#25184) 2022-12-13 17:34:18 +01:00
Guillaume Lemaitre 40748d1945
DOC fix link to images in KMeans tutorial (#24793)
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
Co-authored-by: Tim Head <betatim@gmail.com>
2022-11-16 17:15:02 +01:00
Olivier Grisel e9cf0c92ec
DOC Check sha256 digests of tarballs in tutorial and examples before extraction (#24617)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2022-10-10 17:57:42 +02:00
Tim Head 92f555ea15
ENH Preserves dtype in `RBFSampler` (#24317)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2022-09-09 14:38:44 +02:00
Thomas J. Fan 9f30f00633
DOC Remove deprecated multichannel parameter in example (#24116) 2022-08-05 15:47:54 +02:00
Shinsuke Mori f1c5a399c2
DOC fix typos an -> a (#23684) 2022-06-20 12:02:09 +02:00
David Gilbertson 04cf7687d2
DOC fix minor typo (#23414) 2022-05-19 09:37:07 +02:00
David Gilbertson a5d63d958a
DOC Fix minor typo in doc/tutorial/basic/tutorial.rst (#23403) 2022-05-18 00:16:09 -04:00
Maxwell 16e57aeb20
MNT Use context manager for file operations (#23207) 2022-04-29 11:55:55 +02:00
Maxwell 85e7a32ec9
remove redundant lambda function (#23232) 2022-04-29 11:03:48 +02:00
Thomas J. Fan c176beadf8
MAINT Import from public SciPy in pubilc namespace (#22875)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2022-03-17 11:59:23 +01:00
Dimitri Papadopoulos Orfanos 84bc6342d9
MNT Run dos2unix (#21053)
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
2022-02-10 13:34:26 -05:00
Takeshi Oura 8b6b519caf
ENH Preserving dtype for np.float32 in RandomProjection (#22114)
Co-authored-by: takoika <>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2022-01-06 23:29:08 -05:00
Mandy Gu 379919dc59
ENH Add optional parameter to return raw data for diabetes dataset (#16605)
Co-authored-by: happilyeverafter95 <mgu@wealthsimple.com>
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-12-17 11:33:18 +01:00
Dimitri Papadopoulos Orfanos f71c031314
DOC Typos found by codespell (#21069) 2021-09-17 19:04:54 +02:00
Loïc Estève 365234563e
Set up matplotlib agg backend at the beginning of the tests (#20230)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2021-06-17 17:45:53 +02:00
Chiara Marmo 40b45e6b7c
[MRG] CI Push Scipy minimum version to 1.1.0. Remove Python 3.6 from builds. (#20069)
* Push scipy min version to 1.0.0

* Update all ubuntu images to 20.04 focal.

* Add ubuntu images 18.04 bionic and scipy fron conda-forge.

* Fix conditions.

* Pin python 3.6 for ubuntu bionic.

* Change pipeline name.

* Change matrix element name.

* Keep python 3.9 from system not conda in Ubuntu 20.04.

* Remove python directive when unnecessary.

* Cleanup.

* Downgrade to python 3.6 as scipy 1.0.0 is incompatible with 3.8.

* Fix comment.

* Fix comment.

* Pin pytest again as we are forced to use 3.6.

* Move to conda installer for 32bit linux.

* Install miniconda for ubuntu 32bit.

* Install wget for ubuntu 32bit.

* Revert 32bit OS to ubuntu bionic 18.04.

* Install scipy from pip in 32bit system.

* Fix doctest failures.

* Revert example rendering.

* Relax pytest version in ubuntu install.

* Skip failing tests.

* Put comment at the right place.

* Remove python3.6. Ubuntu32 still needs to be adapted.

* Push numpy and scipy min versions for compatibility with 3.7.

* Push matplotlib min version for compatibility with 3.7. Install numpy via pip in 32bit linux.

* Install numpy before scipy in Linux 32bit.

* Pass numpy version to linux32.

* Test 32bit architecture on debian buster (still exists for 32bit with python 3.7).

* Install matplotlib from distribution.

* Syntax error...

* Stick to the numpy debian version to avoid Expected 124 from C header, got 112 from PyObject error.

* Clean comments.

* Revert skip in doctest to check with new dependencies.

* Rename distrib.

* Skip again...

* Fix test on check_array.

* Remove comment and fix lint at the same time.

* Clean import.

* Increase atol in test_derivatives to make the test pass in py37_conda_openblas environment.

* Avoid sparse matrix dependent on scipy version.

* Skip docstring test for pandas versions less then 1.1.0.

* Fix lint error.

* Empty commit to force checks.

* Add minimal dependencies in changelog.

* Update to python 3.7 CircleCI and Travis builds.

* Move to debian buster for python3.7 dependencies.

* Fix the container tag.

* Lower the minimal pandas version for compatibility with python 3.7.
2021-05-18 16:09:36 +02:00
Adrin Jalali 468c3f4057
MNT replace master with main (#19237)
* replace master with main

* fix imbalanced-learn

Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>

* asv default branch is `master`

Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>

Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2021-01-22 15:19:48 +01:00
JHayes 3d8db98ea5
DOC add sphinx-prompt to ease select/copy/paste of prompt command #18512 (#18516)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2020-11-23 15:16:47 +01:00
Guillaume Lemaitre 4876688d30
[arm64] MNT skip docstring check in tutorial for ARM64 (#18728) 2020-11-02 15:39:58 +01:00
Chiara Marmo 54ce422269
DOC revamp model persistence documentation (#18046)
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2020-09-23 22:54:27 +10:00
Chiara Marmo bebb6d2255
DOC Tutorial structure and layout (#18261)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2020-08-29 10:32:33 -04:00
Ram Rachum 61ec6b9b79
MNT Use raise from in 19 modules (#17835) 2020-08-25 08:57:29 +02:00
Chiara Marmo 075d424568
FEA Add Nonnegative LinearRegression (#17578)
Co-authored-by: Nicolas Hug <contact@nicolas-hug.com>
Co-authored-by: Joseph Knox <jknox13@uw.edu>
Co-authored-by: Joseph Knox <joseph.edward.knox@gmail.com>
2020-08-06 08:30:24 -04:00
Kevin Markham 2e9dbe6412
DOC Minor documentation fixes (#18056) 2020-08-02 10:08:36 -04:00
chaitanyamogal ed9e9da389
EXA change in position of plot image (#17924) 2020-07-15 23:49:44 +02:00
chaitanyamogal 763f6c398c
DOC fix plot position in statistical_inference/settings.rst (#17919)
changed position of the image
2020-07-14 11:26:25 +02:00
Lucy Liu 9cc5558706
DOC remove boston from tutorial.rst (#16889) 2020-04-14 12:20:47 +02:00
Gonthier Nicolas a3fad528f9
DOC Fix Tutorial example code lacking context #13566 (#14675)
* Add context to tutorial example

*  try to keep line length under 80 characters

* make CI pass

* MNT Skips unsupervised_learning when scikit-image is not installed

* DOC make code comments as text

* solve issue plotting

* fix

* center images

Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Thomas J Fan <thomasjpfan@gmail.com>
2020-02-12 16:55:35 +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
Hye Sung Jung 3424f72469 DOC spelling fixes (#16247) 2020-01-28 12:52:17 +11:00
Chiara Marmo 871b251623 DOC Sphinx Unexpected unindent warnings (#15130) 2019-10-04 10:56:32 -04:00
Thomas J Fan 89332d3e90 DOC Updates entire website design (#14849) 2019-09-21 20:22:34 +10:00
topisan 3379e90f6d DOC return_X_y for load diabetes (#14762) 2019-08-24 23:17:01 -04:00
Kanika Sabharwal 40c7978a64 use return_X_y=True for load_iris dataset (#14777) 2019-08-24 17:54:16 -04:00
Harsh Mahajan 228109cd5c MAINT Remove tolerance paramter from Perceptron (#14558) 2019-08-02 16:11:46 -04:00
Tilen Kusterle a8efe00876 EXA Use return_X_y=True with load_digits where appropriate (#14359) 2019-07-14 17:10:54 +02: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
Guillaume Lemaitre 9adba491a2 [MRG] DEP change the default of cv and n_splits (#13839) 2019-05-29 23:39:20 +10:00
Guillaume Lemaitre c28ef9ef2a DEP change the default of multi_class to 'auto' in logistic regression (#13807) 2019-05-22 09:57:15 -04:00
Guillaume Lemaitre 69eb4d4678 [MRG] DEP change default and deprecate iid in SearchCV (#13834) 2019-05-09 14:26:05 +02:00
Guillaume Lemaitre 7896b21562 MNT change default of solver in LogisiticRegression (#13805) 2019-05-08 21:31:39 +08:00
Guillaume Lemaitre 28480f4cb2 DEP change the default of gamma in SVM (#13801) 2019-05-07 16:12:49 +02:00
Adrin Jalali 384c8ad3d3 ENH add a break_ties parameter to SVC and NuSVC (#12557) 2019-05-03 16:15:49 -04:00
Clément Doumouro 01bc8b18ac FIX non deterministic behavior in SGD (#13422) 2019-04-04 21:31:09 +11:00
Hanmin Qin 1a23be1b7e
DOC Avoid training/predicting on random dataset in the tutorial (#13234) 2019-03-04 19:16:59 +08:00
Hanmin Qin 5c8167a159 FIX Correct the definition of gamma=`scale` in svm (#13221) 2019-02-24 18:34:43 +11:00