Commit Graph

302 Commits

Author SHA1 Message Date
Nicolas Hug a955da19ac [MRG] Minor doc improvement in tutorial (#11797) 2018-08-12 12:24:03 +10:00
Hanmin Qin 0efaf2d040
ENH Adding various averages to classification_report (#11679) 2018-08-07 19:54:07 +08:00
Olivier Grisel 40e6c43cb4
Joblib 0.12.2 (#11741)
* joblib 0.12.2

* Export _joblib's register_parallel_backend

* Use latest version of coverage
2018-08-03 12:34:25 +02:00
Alexandre Boucaud f158e2dfe2 [MRG+1] Change CV defaults to 5 (#11557)
* add FutureWarning for methods with defaults=3

* add explicit cv values to fix assertion errors

* add tests for catching the FutureWarning

* Write current deprecation version

* Add deprecation in docstring

* change default cv value to None

* change cv from 3 to 5 in the examples

* upgrade doctests

* update doctest in tutorial

* update doctest in cross-validation doc

* fix tests

* add entry to whats new

* address Gael comments

* address Gael comments 2

* fix wrong indentation

* update doc

* add docstring deprecation warning in CV subclasses

* address Andy's comments

* fix PR number

* fix flake8

* add filterwarnings in tests

* fix doctests

* cv=None mendatory in Ridge

* fix warning related errors

* skip some doctests warnings

* make travis happy

* change from deprecated to versionchanged

* fix doctests and remove skipping

* address comments
2018-07-19 14:46:11 +02:00
Andreas Mueller 6ecb98eea3 doctest errors "fixed" by skipping 2018-07-17 18:08:42 -05:00
Andreas Mueller eec7649236 MAINT Complete 0.20 deprecations (#9570) 2018-06-24 23:06:26 +10:00
Loïc Estève 066b501987 DOC: use .joblib file extension rather than .pkl 2018-06-18 15:37:35 +02:00
Hanmin Qin c4146095e8
DOC Broken link in #11216 (#11237) 2018-06-12 08:58:31 +08:00
Joel Nothman 90a2c57951 EXA Move examples to examples/compose (#11216) 2018-06-11 15:06:21 +08:00
Loïc Estève 1c61b8ac1b DOC Fix some example refs due to renaming examples (#11214) 2018-06-07 10:40:30 +08:00
Taehoon Lee 328b04f43e MNT Fix typos (#11057) 2018-05-03 16:30:05 +08:00
Nicholas Nadeau, P.Eng., AVS 3e26fc63be MAINT Fixing Typos (#11017) 2018-04-24 09:32:25 +10:00
Loïc Estève 20661b5018
TST: only run doctests on numpy 1.14. (#10835)
Fix doctests due to numpy 1.14 formatting changes.
2018-03-27 07:44:40 +02:00
Gaurav Dhingra eed83790b0 ENH Change default gamma from 'auto' to 'scale' in SVC (#10331) 2018-03-10 10:39:21 +08:00
Arunava 533521603c [MRG+1] DOC Fixed Broken Link in boston_housing_dataset.rst (#10759) 2018-03-07 09:45:26 +11:00
Antonio Quinonez d6aa098dad DOC: improve wording of basic tutorial (#10666) 2018-02-22 09:15:26 +01:00
jotasi f107e53a9b [doc build] Changed references to renamed examples (#10654) 2018-02-19 11:24:39 +11:00
Tommy 8afeb5d40d DOC Spellchecked 'working with text data' tutorial (#10644)
* Spellchecked 'working with text data' tutorial

* Addressed reviewer comments
2018-02-18 11:47:27 +11:00
cclauss 00d44d1ba6 [MRG+1] Update pyparsing.py for compatibility with Python 3 (#10513) 2018-01-24 20:41:15 +01:00
cclauss aa46f4cb84 MAINT print() is a function in modern Python (#10514) 2018-01-23 11:29:28 +11:00
cclauss b1d57ea57d AUX print() is a function in modern Python (#10511) 2018-01-23 10:29:22 +11:00
Joel Nothman 840f632e8f DOC A glossary of concepts and API elements (#9517)
Skeleton for a glossary of concepts and API elements.

This responds to at least three issues:

* Many aspects of scikit-learn API for users and developers are known
  tacitly by core contributors (and the stack overflow crowd), but are
  not written down in a consistent place.
* What is written is in an ad-hoc narrative style which may be useful
  for introduction, but is difficult to refer to and to maintain.
* Parameters such as `n_jobs` and methods like `decision_function` are
  described repeatedly in documentation giving sometimes more sometimes
  less information. This glossary allows us to use "See :term:`the
  glossary <n_jobs>`." so that parameter descriptions in the
  API reference can remain brief (just as not every numpy operation
  needs to describe broadcasting).
2018-01-02 10:14:07 +01:00
Loïc Estève 41219812fc MAINT remove unicode character from URL for doc linkcheck friendliness (#10300) 2017-12-13 20:48:04 +11:00
Joel Nothman 3972f4e615 DOC Add NORMALIZE_WHITESPACE for numpy master 2017-12-11 12:56:27 +11:00
Mohamed Maskani 7182a43a6f [MRG+1] Take over PR #7647 - Add a "filename" attribute to datasets that have a CSV file (#9101)
* add filename attribute for load_iris

* add filename attribute for load_boston

* add filename attribute for load_linnerud
2017-12-04 15:20:21 +01:00
Joris Van den Bossche 816e2eb523 CLN: remove nose fixtures in docs (#10187) 2017-11-22 15:45:06 +01:00
FarahSaeed b2723582f2 [MRG] DOC Replacing "the scikit" with "scikit-learn" (#10126) 2017-11-14 11:06:50 +01:00
syonekura 32fcc364ab [MRG+1] Setting max_iter/tol explicitly for SGD estimators in docs (#9776) 2017-10-04 17:28:32 +02:00
brett koonce f2186aa19d various minor spelling tweaks (#9783) 2017-09-17 17:04:23 +02:00
Julian Kuhlmann 00358b1f07 Bring last code block in line with the image. (#9488)
Code from http://scikit-learn.org/stable/auto_examples/decomposition/plot_ica_blind_source_separation.html.
2017-08-04 16:00:48 -04:00
Balakumaran Manoharan 04be1a9799 [MRG + 1] DOC Fix Sphinx errors (#9420)
* Fix Rouseeuw1984 broken link

* Change label vbgmm to bgmm
Previously modified with PR #6651

* Change tag name
Old refers to new tag added with PR #7388

* Remove prefix underscore to match tag

* Realign to fit 80 chars

* Link to metrics.rst.
pairwise metrics yet to be documented

* Remove tag as LSHForest is deprecated

* Remove all references to randomized_l1 and sphx_glr_auto_examples_linear_model_plot_sparse_recovery.py.
It is deprecated.

* Fix few Sphinx warnings

* Realign to 80 chars

* Changes based on PR review

* Remove unused ref in calibration

* Fix link ref in covariance.rst

* Fix linking issues

* Differentiate Rouseeuw1999 tag within file.

* Change all duplicate Rouseeuw1999 tags

* Remove numbers from tag Rousseeuw
2017-07-30 15:22:10 +10:00
Taehoon Lee 28ad450a43 DOC Fix typos (#9386) 2017-07-17 15:51:46 +10:00
Andreas Mueller 5271a193c3 MRG Sphinx fixes (#9155) 2017-06-28 17:00:13 +02:00
Tom Dupré la Tour edeb3af217 Deprecate n_iter in SGDClassifier and implement max_iter (#5036) 2017-06-23 21:49:29 +02:00
Naoya Kanai bd0fc236e0 [MRG+1] MAINT drop SciPy < 0.13 (#8854)
Remove sklearn.utils.fixes functions that are not needed for scipy >= 0.13 and keep deprecated wrappers in other modules.
2017-06-02 23:36:33 +02:00
Chayant T15h f34816ab89 Fixes tildes in rst files (#8751) 2017-04-19 14:28:49 +02:00
Aseem Bansal 2d0bce7bc8 [MRG] Fix Parameters in tutorials (#8345) 2017-02-23 21:27:28 +11:00
Dickson 15921603ea fix typo (#8390) 2017-02-18 11:29:07 +01:00
Aseem Bansal 2bf5006ef7 spelling mistake (#8341) 2017-02-12 16:53:58 +01:00
Asish Mahapatra c6b2002ece Remove redefinition of k_fold in model_selection.rst (#8330) 2017-02-11 14:10:22 +01:00
seanpwilliams bae38a2f5f DOC: Remove superfluous assignment in tutorial. issue #8285 (#8314)
* remove assignment

per recommendation

* Fix doctests
2017-02-08 19:10:54 +11:00
Andreas Mueller 5c4b1bb231 [MRG+1] Housekeeping Deprecations for v0.19 (#7927)
* remove stuff to be removed 0.19

* more changes

* remove classes from 0.19 whatsnew

* remove _LearntSelectorMixin

* remove ProjectedGradientNMF, load_lwf_*

* minor fixes

* remove more copy from logistic regression path

* remove lda, qda from __init__.__all__

* remove pg solver in nmf from tests etc

* remove class_weight="auto" from tests

* doctest change for decision_function_shape="ovr"

* remove transfrom from tree test, minor fixes to tree tests

* some fixes in the tests

* undo changes in functions which still allow 1d input...

* also allow 1d in scale

* more test fixes...

* last test fixes in forest and tree

* svm default value change doctest failures

* pep8

* remove more class_weight="auto" stuff

* minor cosmetics in docstrings deprecated / removed behavior.

* say that store_covariance has been moved to __init__ in discriminant_analysis
2016-12-09 12:43:38 -05:00
jeroko b2af911cf8 DOC Remove unnecessary module prefix in example code. (#7884)
MultiLabelBinarizer is already imported, calling it with the
``preprocessing`` module prefix produces an error.
2016-11-16 13:25:49 +11:00
Giorgio Patrini 8f938eec05 DOC fixed avoidable warning of test-doc (#7524) 2016-10-10 20:15:40 +11:00
He Chen ea752cd6d2 [MRG + 1] Added some documentation for loading external datasets (Issue 3808) (#7516)
* Update tutorial.rst

* Update tutorial.rst

* Update tutorial.rst

* Update tutorial.rst

* Update index.rst

* Update index.rst

* Update tutorial.rst

* Update tutorial.rst

* Update tutorial.rst

* Update faq.rst

* Update faq.rst

* Divided in two cases (standard columnar and misc data)

I also added a preprocessing note at the end

* Update tutorial.rst

* Update faq.rst

* Update index.rst

Also added some references that were in the original FAQ and pointed the FAQ to here

* Update index.rst

Added the information from the removed part of the FAQ because I felt that the FAQ version was better than the explanation I gave.

* Update index.rst

reference to skimage and also has sklearn.preprocessing.OneHotEncoder instead of OneHotEncoder

* Update index.rst

* Update index.rst

Changed with @jnothman's feedback 
d16ac523ed

* Update faq.rst

* optimized file formats added to datasets/index.rst

Note: if you manage your own numerical data it is recommended to use an optimized file format such as HDF5 to reduce data load times. Various libraries such as H5Py, PyTables and pandas provides a Python interface for reading and writing data in that format.

- From the FAQ

* faq.rst: Moved the comment in bunch section to datasets index

This comment has been moved to the datasets index in the external_datasets section:
Note: if you manage your own numerical data it is recommended to use an optimized file format such as HDF5 to reduce data load times. Various libraries such as H5Py, PyTables and pandas provides a Python interface for reading and writing data in that format.

* Update index.rst

Included all changes mentioned by @amueller and @jnothman

* Update faq.rst

* Update faq.rst
2016-10-08 21:10:31 +11:00
Josh Karnofsky 45cb11d97f [MRG+2] DOC add info to conventions for multi-label fitting (#7519)
* DOC add info to conventions for multi-label fitting

* DOC move to multilabel section and small edits

* DOC clean multilabel examples and clean information

* DOC fix line lengths for multiclass
2016-10-07 09:20:51 +11:00
Alexandre Abadie 93567dd270 [MRG+2] DOC: update persistence documentation with Joblib new behavior (#7434) 2016-09-19 09:56:31 +10:00
Raghav RV 9a12555e6d [MRG+1] ENH/MNT Rename labels --> groups in CV tools (#6660) 2016-09-11 19:14:41 +02:00
Andreas Mueller 6972d6c15c DOC minor doc fixes for sphinx. (#7357) 2016-09-08 10:07:40 +10:00
Raghav R V 4dbab2680e results_ --> cv_results_; "test_mean_score" --> "mean_test_score" et al. 2016-09-06 18:46:09 +02:00