Commit Graph

2815 Commits

Author SHA1 Message Date
Eric Chang 62e9bb8def Feature: Implement PowerTransformer (#10210) 2017-12-06 08:29:10 +11:00
Rajendra arora 78ccdd1d6f DOC Improve comment in plot_classifier_comparison.py (#10256) 2017-12-05 23:55:00 +08:00
Joris Van den Bossche a2ebb8cfd2 ENH: new CategoricalEncoder class (#9151) 2017-11-21 20:03:41 +11:00
Hanmin Qin 8ebb9a9077 avoid subplot overlapping in plot_regression.py (#10159) 2017-11-17 09:13:15 +01:00
Hanmin Qin 5963fd2150
DOC Fix broken link in ROC example (#10151) 2017-11-16 14:25:28 +08:00
dilutedsauce 62eda82f1f [MRG] move flake8 options from flake8_diff.sh to setup.cfg (#10080)
Also add examples/.flake8 for examples specific flake8 configuration
2017-11-14 13:26:39 +01:00
FarahSaeed b2723582f2 [MRG] DOC Replacing "the scikit" with "scikit-learn" (#10126) 2017-11-14 11:06:50 +01:00
Joel Nothman 30c9dbfc8a DOC Add Examples heading 2017-11-13 18:06:49 +11:00
Alexandre Gramfort 8e599c68fb DOC Comparison plot for anomaly detection methods. (#10004) 2017-11-03 08:37:27 +11:00
Jinkun Wang a1aaccd809 DOC Fix typo (#9996) 2017-10-25 13:05:36 +11:00
Hanmin Qin 39e95c7982 improve example plot_forest_iris.py (#9989) 2017-10-24 12:49:53 -04:00
Hristo 0e19710fa4 Improve readability of outlier detection example. (#9973) 2017-10-24 09:41:15 +02:00
Zhenqing Hu 3593194b69 Python 2 fix for plot_stock_market.py error (#9965) 2017-10-22 20:48:29 +02:00
Vrishank Bhardwaj ed5a0cac6b [MRG+1] Update docstrings of KMeans.inertia_ (#9920)
[MRG+2] Update docstrings of KMeans.inertia_
2017-10-15 18:56:18 -07:00
Nathaniel Saul 675f9f3a7c DOC show plot and fix comments (#9925) 2017-10-15 23:27:35 +11:00
Loïc Estève 502261bd9d Fix example for matplotlib 2.1 change. (#9897) 2017-10-10 11:42:48 +02:00
Hristo cb41c52625 Remove unused variable alphas from the LARS example. (#9882) 2017-10-07 17:04:08 +02:00
syonekura 32fcc364ab [MRG+1] Setting max_iter/tol explicitly for SGD estimators in docs (#9776) 2017-10-04 17:28:32 +02:00
Anthony Gitter 59bb32ff71 DOC Add average precision definitions and cross references (#9583) 2017-09-25 20:04:21 +10:00
Loïc Estève cceb9b22ac Fix plot_out_of_core_classification.py. (#9815)
Starting from empty ~/scikit_learn_data got AttributeError: module
'sklearn.externals.six.moves.urllib_request' has no attribute
'urlretrieve'.
2017-09-25 08:21:44 +02:00
Hanmin Qin e443c05ea3 hange alpha in plot_label_propagation_structure.py (#9788) 2017-09-19 09:40:29 +02:00
Loïc Estève 8b53659e41 plot_stock_market.py checks are based on dates rather than on hard-coded values 2017-09-18 11:17:17 +02:00
Joel Nothman 7425abcb00 FIX? Use ISO8601 dates and resolved URL for Google Finance 2017-09-18 11:11:39 +10:00
Joel Nothman fa8972bcdd FIX max date should use max, not min 2017-09-18 11:08:33 +10:00
Loïc Estève 7a2ce27a8f Add expected parameter to check min_date, max_date and len_data
rather than hardcoding the logic in the quotes_historical_google function.

Some minor variable renaming.
2017-09-15 15:59:58 +02:00
Loïc Estève 470c30050e Better treatment of empty data in plot_stock_market.py
Also use date rather than datetime because we do not need hour of day
2017-09-14 17:12:42 +02:00
Vrishank Bhardwaj 8fa7771d13 [MRG+1] Added exchange names to tickers in plot_stock_market.py (#9750) 2017-09-14 14:49:43 +02:00
Hanmin Qin 32ac22870d [MRG+1] Fix warnings in lgtm.com (remove redundant code) (#9719) 2017-09-14 11:42:58 +02:00
Loïc Estève 9684f468ae Improve error message in plot_stock_market.py 2017-09-14 11:23:05 +02:00
Loïc Estève fb66956be4 Improve error messages in plot_stock_market when Google finance misbehaves.
Also few cosmetic changes.
2017-09-14 10:02:32 +02:00
Joel Nothman 4814bc1fd6 DOC/FIX put the sort in the right place 2017-09-13 20:09:12 +10:00
Joel Nothman 8c82943af1 More verbose output in plot_stock_market for debugging 2017-09-13 10:55:04 +10:00
Nabarun Pal 274724534d [MRG] Removes duplicate variable definition (#9688) 2017-09-05 09:27:18 +10:00
Andreas Mueller 9b5561148f [MRG] Figure improvements (#9648)
* Example plots render poorly in dev

* flake8 + bias_variance

* title padding

* misc ensemble variance plotting

don't use rcParams to set size of a single figure,
put legend outside of plot

* semisupervised plotting fixes

use explicit kwargs in subplots_adjust, change hspace, don't change aspect ratio of imshow.
2017-09-01 10:29:05 +02:00
Joel Nothman 468d6e71aa Remove inappropriate warm_start (#9638) 2017-08-29 09:58:55 +10:00
Michael A. Alcorn a571b01ac8 ENH Implement Complement Naive Bayes (#8190) 2017-08-28 23:31:45 +10:00
Hanmin Qin cb16003751 DOC Improve the output of example plot_iris.py after matplotlib2.0 (#9541) 2017-08-16 09:01:28 +10:00
(Venkat) Raghav, Rajagopalan 312b1dfc74 ENH Early stopping for Gradient Boosting Classifier/Regressor (#7071) 2017-08-09 22:02:47 +02:00
tobycheese da415db476 DOC remove unnecessary line (#9504) 2017-08-07 08:48:07 +10:00
Andreas Mueller de26c30fad DOC Fixup of linear svm separating hyperplane plot (#9471)
* change data, don't regularize, call plt.show
2017-08-06 13:28:08 +10:00
Vathsala Achar 9927982c4e [MRG+1] DOC Simplifying margin plotting in SVM examples (#8501) (#8875)
* Simplifying margin plotting in SVM examples (#8501)

* updated to use contour levels on decision function

* separating unbalanced class now uses a red line to show the change in the decision boundary when the classes are weighted

* corrected the target variable from Y to y

* DOC Updates to SVM examples

* Fixing flake8 issues

* Altered make_blobs to move clusters to corners and be more compact

* Reverted changes converting Y to y

* Fixes for flake8 errors
2017-08-01 15:11: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
hakaa1 8811d59464 [MRG+1] retry mechanism for plot_stock_market.py (#9437) 2017-07-25 13:48:57 +02:00
Adam Kleczewski 511bbc7237 [MRG+1] Chassifier chain example fix (#9408) 2017-07-25 10:28:01 +02:00
Andreas Mueller 2277068c88 remove depreated "plt.hold" that defaults to "on". (#9444) 2017-07-25 09:03:22 +10:00
Sebastin Santy e33e84dbf7 [MRG] FIX Examples use int / int without __future__.division (#9426) 2017-07-23 12:11:49 +10:00
Andreas Mueller 334850fa2b Note->Notes, fix underline in multioutput examples (#9416) 2017-07-20 14:01:30 +02:00
Gael Varoquaux 2a1d8ba8f9 MISC: typo in rst 2017-07-17 14:55:14 +02:00
Taehoon Lee 28ad450a43 DOC Fix typos (#9386) 2017-07-17 15:51:46 +10:00
Thomas Moreau cb1b6c4734 FIX t-SNE memory usage and many other optimizer issues (#9032)
Use a sparse matrix representation of the neighbors.
Re-factored the QuadTree implementation to avoid insertion errors.
Various fixes in the gradient descent schedule to get the Barnes Hut and exact solvers to behave more robustly and consistently.
2017-07-12 22:56:02 +02:00