Commit Graph

70 Commits

Author SHA1 Message Date
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
Lucy Liu 9cc5558706
DOC remove boston from tutorial.rst (#16889) 2020-04-14 12:20:47 +02:00
Kanika Sabharwal 40c7978a64 use return_X_y=True for load_iris dataset (#14777) 2019-08-24 17:54:16 -04: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 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
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
Thomas Moreau d25da1be20 FIX make joblib utils private, and remove mentions of externals.joblib (#12345) 2018-11-20 10:53:52 +11:00
TakingItCasual f4e7d2b19a Converting http to https (3)... (#12302) 2018-10-05 18:50:31 +02:00
Denis Kataev b020f62250 MNT Apply pep8 to docs code (#12275) 2018-10-05 22:51:42 +08:00
Kushal Chauhan e6359e272a DOC Fix broken link to joblib documentation (#12301) 2018-10-05 15:10:51 +02:00
Nicolas Hug a955da19ac [MRG] Minor doc improvement in tutorial (#11797) 2018-08-12 12:24:03 +10:00
Loïc Estève 066b501987 DOC: use .joblib file extension rather than .pkl 2018-06-18 15:37:35 +02: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
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
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
FarahSaeed b2723582f2 [MRG] DOC Replacing "the scikit" with "scikit-learn" (#10126) 2017-11-14 11:06:50 +01: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
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
Óscar Nájera acef8cd671 Sphinx-doc absolute path for auto_example images 2016-08-03 20:23:50 +02:00
Óscar Nájera d6be865a32 References to examples 2016-08-03 20:23:50 +02:00
Óscar Nájera bd5cecce44 update references link namespace 2016-08-03 20:23:50 +02:00
Óscar Nájera 04116ce286 update image sources namespace 2016-08-03 20:23:50 +02:00
Inki Hwang a2dac46e71 Fix minor typo in doc (#7001) 2016-07-16 08:39:10 +02:00
Rémy Léone 9b7176dd9d [DOC] Fix broken links 2016-03-23 12:45:34 -07:00
Taranjeet 34f9367bbf grammatical fix in tutorial.rst under basic category 2015-11-07 23:09:27 +05:30
Andreas Mueller 6dd6f8ffe8 minor fixes to the doc build 2015-09-11 17:32:51 -04:00
Vighnesh Birodkar 2f099334f9 MAINT deprecate 1d input arrays for all estimators
Passing 1D arrays to check_array, without setting `ensure_2d` to false now
raises a deprecation warning before reshaping it. This will later throw an
error.

All Scaler classes also throw warnings when 1D arrays are passed.

All unit tests/doctests are modified to ensure that no 1D arrays are passed,
except in explicit 1D array tests where the warnings have been silenced.

Additional tests are also included which check for different 1D array cases.

2D array tests with one samples and one features are also added and where
they failed, `check_array` call has been modified to give a more useful error
message
2015-09-09 15:49:58 +02:00
Lars Buitinck 567a956338 Merge branch 'pr/4714' + pep8 fixes
Conflicts:
	doc/modules/model_persistence.rst
	doc/modules/pipeline.rst
	doc/modules/svm.rst
	doc/tutorial/basic/tutorial.rst
	doc/tutorial/statistical_inference/supervised_learning.rst
	sklearn/svm/classes.py
2015-06-08 11:31:51 +02:00
Shivan Sornarajah 41788c353b Changed SVM to use gamma='auto' by default. Deprecated gamma=0.0. 2015-06-05 22:47:43 +01:00
Andreas Mueller 6d4bcda876 ENH refactor OVO decision function, use it in SVC for sklearn-like decision_function shape 2015-06-05 13:14:45 -04:00
Andreas Mueller 867da316ff DOC minor sphinx fixes 2015-06-04 16:29:19 -04:00
Christof Angermueller 0fe613ebab Add conventions section to userguide 2015-04-15 11:09:32 -04:00
Andreas Mueller 5b247f90e4 move around examples for better structure. 2014-07-17 09:35:30 +02:00
Olivier Grisel 2eb1e98eef MAINT ensure that examples figures are displayed in the correct order 2014-07-14 15:47:17 +02:00
Lars Buitinck c176ced74d DOC double backticks for fixed-width (code) font
Fixes #3337. Also other minor fixes while I was at it.
2014-07-06 14:18:33 +02:00
Raul Garreta df27e26156 model persistence doc, added improvements from ogrisel comments 2014-06-27 08:57:23 -03:00
Raul Garreta 8489c33010 added a new section on model persistence 2014-06-27 08:57:23 -03:00
Amos Waterland eb86ff8ecd Explain the -1 Python syntax. 2014-05-25 13:24:44 -06:00
Amos Waterland bf5798ea16 Remove extraneous period. 2014-05-25 13:10:45 -06:00
Amos Waterland 46d27f566b Use double backticks. 2014-05-25 13:08:38 -06:00
Amos Waterland 8f2e208503 Explicitly invoke the Python interpreter. 2014-05-25 13:03:47 -06:00
Aaron Schumacher 60b3120338 target is response, not explanatory 2014-04-11 18:36:32 -04:00