Commit Graph

49 Commits

Author SHA1 Message Date
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
Vlad Niculae 2d97949125 DOC update docstrings to reflect libsvm random_state 2013-07-27 19:50:25 +02:00
Lars Buitinck 85ec0fd1ae P3K death to the print statement 2013-02-11 23:11:57 +01:00
Andreas Mueller 0dd3e13771 FIX remaining doctests 2013-01-03 13:21:51 +01:00
Mark Veronda 9d5ed3a7c2 Feedback from @amueller 2013-01-02 17:24:35 +01:00
Mark Veronda 3352bbac31 Type-os and added great links to learning more about Machine Learning 2013-01-02 17:24:35 +01:00
Lars Buitinck ac2e0c7a1c DOC copyedit tutorials 2012-11-10 11:16:39 +01:00
Andreas Mueller 51b06b8203 FIX doctests for max_iter 2012-10-16 16:46:48 +02:00
Andreas Mueller 4e7d9962f6 ENH fixed doctests, addressed comments. 2012-06-15 19:31:47 +02:00
Andreas Mueller 4e3f00833e DOC minor fixes to rst and image paths 2012-05-06 23:28:31 +02:00
Andreas Mueller 3c2e01f8be DOC some doc corrections 2012-05-06 10:47:07 +02:00
Vlad Niculae 3885dd8ac3 FIX: doctests for scale_C, took some liberties 2012-05-05 21:57:05 +02:00
Alexandre Gramfort 15455263b7 API : change back default C to 1. explicitely and epsilon 0.1 2012-05-05 21:57:04 +02:00
Andreas Mueller 5edfa06019 DOC docs and examples have scale_C removed 2012-05-05 21:57:04 +02:00
Jaques Grobler 0d63d785e7 Merge branch 'master' into WIP_tut
Conflicts:
	examples/linear_model/plot_ols.py
2012-03-22 17:12:36 +01:00
Jaques Grobler 4ee5b5e3eb Merge remote-tracking branch 'origin/master' into WIP_tut 2012-03-08 10:30:17 +01:00
Jaques Grobler 49c657ca52 examples merged to example pool 2012-03-07 12:15:46 +01:00
Jaques Grobler 120e628db3 Image page fixed 2012-02-28 13:59:04 +01:00
Jaques Grobler 560b0b8475 Fixed missing image and GUI download link
-Missing image and link for it fixed in basic tutorial
-Seperate page for SVM GUI added instead of direct download link
2012-02-28 13:53:55 +01:00
Jaques Grobler 45512886ab Merge branch 'master' into WIP_tut 2012-02-22 09:48:57 +01:00
Jaques Grobler 4e78ea4426 Updated tutorial folders in doc with placeholders for other tutorials. updated index.rst for the tutorial menu accordingly 2012-02-16 14:15:28 +01:00