Commit Graph

4816 Commits

Author SHA1 Message Date
Remi Rampin 623ee42260 Fix link to cross_validation (#9025)
Previously read "search [...] for the best Cross-validation: evaluating estimator performance score", because the title of 'cross_validation' changed.
2017-06-06 22:19:55 +02:00
Óscar Nájera 7a23b2493f Update to Sphinx-Gallery v0.1.11 (#8222) 2017-06-06 16:35:24 +02:00
Andreas Mueller 1c41368bac [MRG+1] Uncontroversial fixes from estimator tags branch (#8086)
* some bug fixes.

* minor fixes to whatsnew

* typo in whatsnew

* add test for n_components = 1 transform in dict learning

* feature extraction doc fix

* fix broken test

* revert aggressive input validation changes

* in SelectFromModel, don't store threshold_ in transform. If we called "fit", use estimates from last "fit".

* move score from EllipticEnvelope to OutlierDetectionMixin

* revert changes to Tfidf documentation

* remove dummy input validation from whatsnew

* fix text feature tests

* rewrite from_model threshold again...

* remove stray condition

* fix self.estimator -> estimator, slightly more interesting test

* typo in comment

* Fix issues in SparseEncoder, add tests.
more explicit explanation of SparseEncoder change, add issue numbers to whatsnew

* minor fixes in whats_new.rst

* slightly more consistency with tuples for shapes

* not longer typo
2017-06-06 16:34:47 +02:00
Sourav Singh fa5926afae [#8972] Add links to FAQ (#9002)
* Add links to FAQ

* Update faq.rst

* Fix typo
2017-06-06 15:18:57 +02:00
shivamgargsya 7772e8102c DOC add reference in probabilities to SVC doc (#8990) 2017-06-06 18:42:47 +10:00
Reiichiro Nakano 25a73db451 [MRG+1] Documentation: Add xcessiv to related projects (#8985)
* Documentation: Add xcessiv to related projects

For your consideration, this adds Xcessiv to the list of related projects under experimentation frameworks. Xcessiv lets you fully define your data, cross-validation technique, estimators, and metrics and is based heavily on the scikit-learn API.

* Modify second sentence
2017-06-05 15:25:03 +02:00
Taehoon Lee dd7a3dd0eb Fix typos (#8980) 2017-06-03 23:54:04 +02:00
Albert Thomas 5fc30fd6f8 DOC recommend editable install using pip in contributing (#8974) 2017-06-03 18:47:20 +10: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
David DeTomaso 57415c4610 [MRG] Fix gradient descent in TSNE (#8768)
Skip flaky test_n_iter_without_progress on 32bit
2017-06-01 13:14:35 +02:00
Hanmin Qin 453446affa [MRG] DOC add function load_wine to the document (#8965)
* add wine dataset to the document

* Update classes.rst

* Update index.rst
2017-05-31 19:36:38 +02:00
Chung Yen cb63a6d0bc [MRG+1] Add set cardinality formulation for mutual_info_score (#8821)
* Remove unnecessary braces.

* Replace R, C with |U|, |V|.

* Remove the probability formulation from docstring.
2017-05-30 10:26:12 -07:00
Joel Nothman 65f7c4e9c5 DOC update whats_new with LDA n_topics deprecation 2017-05-28 21:59:51 +10:00
Brett Olsen 9131f89e6c Update docs with new line_profiler signature and extension method
Update memory_profiler docs as well

Append new extensions instead of setting them directly
2017-05-25 08:25:17 +10:00
Naoya Kanai 83d65b84fe Update numpy refs to 1.8.2 (#8926) 2017-05-24 11:53:37 +10:00
Joel Nothman db25f57781 [MRG+1] Update version dependencies to numpy 1.8.2, scipy 1.13.3 (#8855) 2017-05-24 08:24:04 +10:00
Kennedy bbf43483c1 Fixed markdown in doc/README.md (#8925) 2017-05-23 20:28:52 +02:00
Loïc Estève 97590191fe DOC add plot_stock_market.py to expected failing examples (#8921)
as a stop gap solution until we figure out a longer-term work-around.

Also remove nibabel from conf.py.
2017-05-23 20:27:23 +02:00
Joan Massich 1b5bff3ad0 [MRG] DOC add documentation on adding non-regression tests (#8850) 2017-05-23 15:23:03 +02:00
Guillaume Lemaitre 92cb166647 [MRG] DOC Homogeneous deprecation in docstring (#8907)
Update developers doc to use "deprecated" sphinx directive.
2017-05-23 08:42:08 +02:00
Hanmin Qin 937b47fddc Update model_evaluation.rst (#8915) 2017-05-22 14:56:46 -07:00
Joris Van den Bossche a0c6e6ca32 DOC: styling of deprecated boxes (#8914) 2017-05-22 14:53:24 -07:00
Pete Bachant 29d200249b [MRG+1] De-italicize non-variables in formulas (#8901)
* De-italicize non-variables in formulas

* Fix some TeX syntax errors
2017-05-20 18:28:34 +10:00
Romain Brault 15b7d47a2f relax skewness assumption (#7573)
relax skewedness assumption

relax skewedness assumption

relax skewedness assumption

relax skewedness assumption

relax skewedness assumption

last corrections

whats_new

merge

complying whats_new

removed unnecessary _assert_X

increased coverage

relax skewness assumption

relax skewedness assumption

relax skewedness assumption

relax skewedness assumption

relax skewedness assumption

relax skewedness assumption

last corrections

whats_new

merge

complying whats_new

removed unnecessary _assert_X

increased coverage

remove cythonize.dat and merge

simplify tests

simplify tests
2017-05-18 14:17:10 -04:00
Andreas Mueller 33f50ad948 minor fixes to whats_new.rst for 0.19-dev (#8886) 2017-05-16 21:24:52 +10:00
Michele Lacchia 1de66a0e1d DOC: fix typos in linear_model.rst (#8868)
* DOC fix typos in linear_model.rst

* Another typo
2017-05-12 12:20:50 -07:00
MrMjauh 6413febf8d [MRG+1] Fix inverse_transform in deprecated GridSearchCV (#8860) 2017-05-12 14:33:08 +02:00
Loïc Estève e5cc3c3567 DOC fix more rst links 2017-05-11 10:48:15 +02:00
Nikita Singh 1652a70919 [MRG] Updated title and versions supported in contributing documentation (#8824)
* Changed title and updated versions supported

* Added back a line

* Fixed definition of R^2

* Fixed 80 character limit!
2017-05-07 19:36:31 -07:00
aivision2020 6e8ebdac4e [MRG+1] FIX bug where ransac is running too many iterations (#8271) 2017-04-30 07:57:23 +10:00
Li Li 2f1c9786cc [MRG+1] check length of feature_names in export_graphviz (#8477) (#8512)
* #8477

check length of feature_names in export_graphviz

- raise ValueError if len(feature_names) > tree.n_features
- add unit test for len(feature_names) > tree.n_features
- change the comment of existing unit test for len(feature_names) <
tree.n_features

* fix error and warning

- include length of feature_names and number of features in tree in the
error and warning message.
- raise error for too few feature_names
- for too much feature_names, will use the first n_features. raise an
warning for users
- use assert_raise_message and assert_warns_message in test to check
message.

* move the error and warning from node_to_str to export_graphviz so it will fail early for wrong length of feature_names

* raise error if length of feature_names does not match number of features in the decision tree

* fix pep8

* remove unused assert_warns_message import in test_export.py

* add bug fix in doc/whats_new.rst

* fix the english in doc/whats_new.rst

* fix the format and english in sklearn/tree/export.py

* fix contributor format in doc/whats_new.rst

* fix english, use bracket and avoid \ in error message

* fix pep8

* fix pep8
2017-04-26 21:58:20 +02:00
Joris Van den Bossche 2410ce3511 DOC: fix rst reference to MLPClassifier (#8790) 2017-04-25 11:37:34 +02:00
Loïc Estève 24653e8721 [MRG] Fix sklearn.metrics.classification._check_targets where y_true and y_pred are both binary but the union is multiclass (#8377)
* Fix _check_targets where y_true and y_pred are both binary

but the union of them is multiclass.

* Add entry in changelog
2017-04-21 16:54:00 -04:00
Puneet Mathur 9e0e2d41fe [MRG+1] Spelling mistake in Feature Extraction documentation (#8763)
* task: Fixed the minor change in code from svr to svm merging back to main branch http://scikit-learn.org/dev/modules/generated/sklearn.model_selection.GridSearchCV.html#sklearn.model_selection.GridSearchCV done on: Mar 13 2017 14:30 IST

* issue#8761: Fixed the code with spelling mistake Spelling mistake in
Feature Extraction documentation #8761
2017-04-19 10:20:22 -07:00
Guillaume Lemaitre 14977242bf [MRG] DOC change rebase to merge policy (#8753)
* DOC change rebase to merge policy

* FIX remove no-ff flag
2017-04-19 09:36:53 -07:00
Chayant T15h f34816ab89 Fixes tildes in rst files (#8751) 2017-04-19 14:28:49 +02:00
Rebecca Bilbro 75a0985238 [MRG + 1] Documentation: Adds yellowbrick to related projects (#8733)
* DOCS adds yellowbrick to Related Projects

* DOCS adds Yellowbrick library to Related Projects
2017-04-13 08:26:33 +10:00
Yichuan Liu 194c231d49 [MRG+1] Replace or remove VotingClassifier estimators by set_params (#7674)
* PR to 7288
Use _BaseComposition as base

*  Fix flakes problem

* Change ``pipeline``, add more tests and other changes
1. Use ``_BaseComposition`` in class ``Pipeline`` and ``FeatureUnion``
2. Add tests of soft voting ``transform`` when one estimator is set to None
3. Add estimator name validation in ``_BaseComposition`` and tests
4. Other requested changes.

* Remove the unused import warn

* Add more test and documentation

* resolve conflict with master

* Add testing cases and modify documentation

* Add to whats_new.rst

*  Fix too many blank lines
2017-04-10 15:04:48 -04:00
Vathsala Achar ebcfcafcea [MRG+1] OneClassSVM predict now returns int (#8711)
* Added predict method to class OneClassSVM

- This method overrides the default behaviour to only return integer class values.

* Test for the change in OneClassSVM predict method

- small addition to test that the predicted result is integer

* Changed test to check for intp datatype

* Updated whats new
2017-04-06 18:42:34 -04:00
(Venkat) Raghav (Rajagopalan) fc2f24927f [MRG+1] ENH/FIX Introduce min_impurity_decrease param for early stopping based on impurity; Deprecate min_impurity_split (#8449)
[MRG+2] ENH/FIX Introduce min_impurity_decrease param for early stopping based on impurity; Deprecate min_impurity_split
2017-04-03 09:38:53 -07:00
RAKOTOARISON Herilalaina fb5a498d0b [MRG+1] Change named_steps to Bunch object (#8586)
* Change named_steps to Bunch object

* Update named_steps attribute documentation

* Add test for named steps bunch object

* Delete whitespace in test_pipeline

* Update test_pipeline.py

* Add comment for named_steps usage

* Move dataset/Bunch to utils

* Fix to PEP8 format

* Add __getattribute method to Bunch class, Fix pep8 bug

* Remove __getattribute__, update test_pipeline

* Update test with conflict and non-conflict named_steps

* Add reference to class Pipeline
2017-03-30 14:21:51 +02:00
Guillaume Lemaitre d3ae37a687 [MRG] DOC add pre-processing section in related projects (#8648) 2017-03-30 10:43:18 +02:00
Arthur Mensch 5147fd09c6 Add SAGA solver for LogisticRegression and Ridge (#8446) 2017-03-27 21:39:30 +02:00
Joel Nothman 38adb27bf1 [MRG+2] Fixes kl_divergence_ update in TSNE (#8634) 2017-03-23 13:11:16 +01:00
Leland McInnes f7a9d3be03 DOC: hdbscan is now part of scikit-learn-contrib; update link (#8629) 2017-03-23 06:55:46 +11:00
Sid Kapur 05feb7e480 Change `>>` to `\gg` (#8612)
Use the LaTeX symbol for "much greater than"
2017-03-19 22:21:43 +01:00
Sid Kapur 053d5f3415 DOC neighbors.rst: use \le and \ge (#8610)
Use \le and \ge instead of <= and >=.
2017-03-19 21:38:30 +11:00
Michal Baumgartner 36b38f1788 Fix typo in grid_search.rst (#8609) 2017-03-18 20:24:44 +01:00
Hadrien Bertrand d01a02bdd1 [MRG+1] GaussianProcessRegressor: faster prediction of std (#8591) 2017-03-16 18:01:07 +01:00
Paweł Lorek 306de84cf1 Fix typo in documentation (#8600)
x_i should be in R^m (as n is the number of features)
2017-03-16 15:21:42 +01:00