Commit Graph

2519 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
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
shivamgargsya 7772e8102c DOC add reference in probabilities to SVC doc (#8990) 2017-06-06 18:42:47 +10:00
Taehoon Lee dd7a3dd0eb Fix typos (#8980) 2017-06-03 23:54:04 +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
Hanmin Qin 937b47fddc Update model_evaluation.rst (#8915) 2017-05-22 14:56:46 -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
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
Loïc Estève e5cc3c3567 DOC fix more rst links 2017-05-11 10:48:15 +02:00
Joris Van den Bossche 2410ce3511 DOC: fix rst reference to MLPClassifier (#8790) 2017-04-25 11:37:34 +02: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
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
Arthur Mensch 5147fd09c6 Add SAGA solver for LogisticRegression and Ridge (#8446) 2017-03-27 21:39:30 +02: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
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
Rishikesh 7d1afd71e7 Correct formulas in Doc of Gaussian Process Kernels (#8571)
Correct the Rational quadratic kernel and ExpSineSquare
kernel formulas.

Issue: #8553
2017-03-12 21:57:17 -04:00
Icyblade Dai c005cf9072 DOC fix typo (#8560) 2017-03-09 07:50:21 +01:00
Leland McInnes 425bf83547 [MRG+1] DOCATHON : Provide more intuition on perplexity in the documentation,… (#8551) 2017-03-08 13:27:38 +01:00
mehak-sachdeva 6852a034fc [MRG+2] referred reliability diagrams and added citations (#8527) 2017-03-05 12:23:35 +11:00
Ellen-Co2 56d5789ea1 modify disadvantage (#8521)
[MRG+2] modify disadvantage
2017-03-04 13:35:36 -08:00
Neeraj Gangwar af1796ef68 [MRG+1] Repeated K-Fold and Repeated Stratified K-Fold (#8120)
* Add _RepeatedSplits and RepeatedKFold class

* Add RepeatedStratifiedKFold and doc for repeated cvs

* Change default value of n_repeats

* Change input parameters of repeated cv constructor to n_splits, n_repeats, random_state

* Generate random states in split function rather than store it beforehand

* Doc changes, inheriting RepeatedKFold, RepeatedStratifiedKFold from _RepeatedSplits and other review changes

* Remove blank line, put testcases for deterministic split in loop and add StopIteration check in testcase

* Using rng directly as random_state param to create cv instance and added a check for cvargs

* Fix pep8 warnings

* Changing default values for n_splits and n_repeats and add entry in changelog

* Adding name to the feature

* Missing space
2017-03-04 15:39:04 -05:00
mathurinm b379060650 Correct figure number + matplotlib 2 (#8483) 2017-03-02 15:40:48 +01:00
Aashil fdb32e29a4 [MRG] Add MAE formula in the regression criteria docs. (#8402) 2017-02-24 13:24:20 +11:00
Morikko 7f084b0896 [MRG+1] Add note about the size of default random forest model #6276 (#8437) 2017-02-24 07:56:14 +11:00
dokato bf272c8c11 DOC svm kernel functions docs: rbf equation fixed (#8356) (#8420) 2017-02-21 22:13:54 +11:00
Aashil 1ba84d7584 Explain the meaning of X_m in modules/tree doc. (#8398) 2017-02-19 20:12:45 +01:00
Charlie Brummitt 3d5773027e Change "observations" to "features" in description of LassoLarsCV (#8362)
The description of LassoLarsCV compared the number of samples with the number of observations, but it was meant to compare the number of samples to the number of features (or dimensions) of the data. I changed "observations" to "features" in the following sentence:
> However, :class:`LassoLarsCV` has the advantage of exploring more relevant values of `alpha` parameter, and
if the number of samples is very small compared to the number of observations, it is often faster than :class:`LassoCV`.
2017-02-15 17:48:25 +00:00
Aman Dalmia fe07b8c726 DOC: added explanation for LARS (#8310) 2017-02-14 00:24:49 +11:00
Guillaume Lemaitre b3a639ffc2 [MRG+3] ENH Caching Pipeline by memoizing transformer (#7990)
* ENH Caching Pipeline by memoizing transformer

* Fix lesteve changes

* Fix comments

* Fix doc

* Fix jnothman comments
2017-02-13 14:01:12 +01:00
Samson Tan 66443aa794 [MRG+1] Add prominent mention of Laplacian Eigenmaps (#8155)
* Add prominent mention of Laplacian Eigenmaps being the algorithm that Spectral Embedding implements
2017-01-18 12:36:10 +11:00
JC Liu 4910e11d29 DOC Fix link (#8171) 2017-01-08 08:53:22 +11:00
(Venkat) Raghav (Rajagopalan) 2f7f5a1a50 [MRG + 1] Add fowlkess-mallows and other supervised cluster metrics to SCORERS dict so it can be used in hyper-param search (#8117)
* Add supervised cluster metrics to metrics.scorers

* Add all the supervised cluster metrics to the tests

* Add test for fowlkes_mallows_score in unsupervised grid search

* COSMIT: Clarify comment on CLUSTER_SCORERS

* Fix doctest
2017-01-06 12:03:10 +01:00
Gael Varoquaux e87439868c [MRG+1] DOC: complete list of online learners (#8152)
* DOC: complete list of online learners

I have purposely left out the RBM, because it is a model that has fallen
out of fashion and should probably not be used.

* DOC: Add MaxAbsScaler to online learners
2017-01-04 21:32:52 +01:00
Tom Dupré la Tour ae4f7104d6 [MRG+1] Add multiplicative-update solver in NMF, with all beta-divergence (#5295) 2016-12-12 16:10:39 +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
Vincent Pham 31d3c3e7c5 fixed error in documentation (#8014) 2016-12-08 11:59:58 -05:00
ferria 6e664528a7 Added 1/2 factor to SSE alpha term (#7962) 2016-12-02 10:25:12 -05:00
Karan Desai cb6a366344 [MRG+1] Add new regression metric - Mean Squared Log Error (#7655)
* ENH Implement mean squared log error in sklearn.metrics.regression

* TST Add tests for mean squared log error.

* DOC Write user guide and docstring about mean squared log error.

* ENH Add neg_mean_squared_log_error in metrics.scorer
2016-11-30 11:59:55 +11:00
Aman Dalmia 8793ec96b2 [MRG+1] DOC adding a warning on the relation between C and alpha (#7860)
* DOC adding a warning on the relation between C and alpha

* DOC removing extra character

* DOC: changes to the relation described

* DOC fixing typo

* DOC fixing typo

* DOC fixing link to Ridge

* DOC link enhancement

* DOC fixing line length
2016-11-29 20:13:28 +01:00
Neeraj Gangwar dc4255f383 [MRG+1] Add a note in coverage_error doc to highlight the difference from original coverage formula (#7915) 2016-11-22 14:07:15 +01:00
Theofilos Papapanagiotou 2ab6460f37 Fix typo in grid_search.rst (#7918) 2016-11-21 14:58:58 +01:00
James A. Bednar cc81015190 [MRG] Clarified that DBSCAN is deterministic apart from data ordering (#7852) 2016-11-20 13:10:37 +11:00
Matthias Gilch 20f4e76958 [MRG+1] DOC Note about model serialization on different architectures (#7899) 2016-11-17 09:48:17 +01:00
Joel Nothman 5a16dd7456 DOC use the class_with_call template for kernels (#7813) 2016-11-10 09:18:19 -08:00
Kaushik Lakshmikanth c77003caf9 [MRG] DOC Isolation Forest decision function doc - Clarify that it computes normality not abnormality. (#7792) 2016-10-31 12:07:50 +11:00
waterponey 6e50c8f35e [MRG+2] DOC framework for keeping API refs for deprecated classes/funcs (#7725)
* DOC framework for keeping API refs for deprecated classes/funcs

* DOC tagging deprecated for 0.20

* suggestion for LDA/QDA deprecation

* simplify deprecation message for GaussianProcess

* simplify deprecation messages

* fixup avoid import QuadraticDiscriminantAnalysis in qda.QDA (and similar for LDA).

* fixup test alias lda.LDA is instance of LinearDiscriminantAnalysis
2016-10-30 16:04:35 +01:00
Nicolas Goix 788a458bba [MRG+2] LOF algorithm (Anomaly Detection) (#5279)
* LOF algorithm

add tests and example

fix DepreciationWarning by reshape(1,-1) one-sample data

LOF with inheritance

lof and lof2 return same score

fix bugs

fix bugs

optimized and cosmit

rm lof2

cosmit

rm MixinLOF + fit_predict

fix travis - optimize pairwise_distance like in KNeighborsMixin.kneighbors

add comparison example + doc

LOF -> LocalOutlierFactor
cosmit

change LOF API:
-fit(X).predict() and fit(X).decision_function() do prediction on X without
 considering samples as their own neighbors (ie without considering X as a
 new dataset as does fit(X).predict(X))
-rm fit_predict() method
-add a contamination parameter st predict returns a binary value like other
 anomaly detection algos

cosmit

doc + debug example

correction doc

pass on doc + examples

pep8 + fix warnings

first attempt at fixing API issues

minor changes

takes into account tguillemot advice

-remove pairwise_distance calculation as to heavy in memory
-add benchmarks

cosmit

minor changes + deals with duplicates

fix depreciation warnings

* factorize the two for loops

* take into account @albertthomas88 review and cosmit

* fix doc

* alex review + rebase

* make predict private add outlier_factor_ attribute and update tests

* make fit_predict take y argument

* fix benchmarks file

* update examples

* make decision_function public (rm X=None default)

* fix travis

* take into account tguillemot review + remove useless k_distance function

* fix broken links :meth:`kneighbors`

* cosmit

* whatsnew

* amueller review + remove _local_outlier_factor method

* add n_neighbors_ parameter the effective nb neighbors we use

* make decision_function private and negative_outlier_factor attribute
2016-10-25 11:53:51 -04:00