Commit Graph

2445 Commits

Author SHA1 Message Date
Gael Varoquaux 3e23cf0496 Merge pull request #4104 from maheshakya/johnson-lindenstrauss_bound_example_fix
DOC Modified math expressions to theoretical bounds.
2015-08-30 14:06:39 +01:00
Gael Varoquaux c7795695d0 Merge branch 'master' into pr_3651 2015-08-30 10:48:16 +01:00
Gael Varoquaux bcb6d3bcf8 DOC: minor cosmetric to ROC example 2015-08-30 10:47:07 +01:00
Joel Nothman 2ba124b7be DOC use correct attribute in example 2015-08-28 11:39:12 +10:00
rasbt 25a217b016 small typo fix "radius" in rbf kernel 2015-08-16 18:34:54 -04:00
Lars edf077ccd6 Merge pull request #5050 from AnishShah/issue5043
DOC Fix documentation of callable kernel
2015-08-14 18:43:24 +02:00
Anish Shah a7081d797f [issue #5043] fix documentation of callable kernel 2015-08-14 15:40:03 +05:30
Raghav R V 664d78eb7c MAINT Remove support for the deprecated sequence of sequences
MAINT Remove sequence of sequence support from datasets
MAINT Remove return_indicator param
MAINT Remove multilabel-seq test in OVR
MAINT Remove multilable-seq test in check_cv
MAINT Remove multilabel seq test in label_binarizer
TST type_of_target returns "unknown" for multilabel-sequence types
TST _check_targets should raise a ValueError
DOC show multilabel indicator as an example; remove return_indicator param
DOC use consistent lower case y for target
2015-08-11 22:26:44 +05:30
Mathieu Blondel d341dac18d Remove shebang and utf-8 header. 2015-08-11 02:24:11 +09:00
Mathieu Blondel 0586070499 chmod -x 2015-08-11 02:15:44 +09:00
Lars a6c6e732c5 Merge pull request #3659 from chyikwei/onlineldavb
ENH Latent Dirichlet Allocation (LDA) with online variational Bayes
2015-08-09 19:13:01 +02:00
Andreas Mueller 9d14f7352e ENH: Renames CallableTransformer -> FunctionTransformer.
Makes `pass_y` an argument to FunctionTransformer to indicate that the
labels should be passed to the wrapped function.
2015-08-03 11:45:16 -04:00
Joe Jevnik cb0916c440 ENH: Adds CallableTransformer
CallableTransformer allows a user to convert a standard python callable
into a transformer for use in a Pipeline.
2015-08-03 11:45:16 -04:00
Arthur Mensch fead69a4ac Bugfix : type in cd changed for read only memmap compatibility 2015-07-31 12:12:40 +02:00
Andreas Mueller 0bcbf922e5 Merge pull request #4965 from mrphilroth/4922
[MRG+1] New k-means example
2015-07-29 11:20:27 -04:00
Alexandre Gramfort 24e962cfe1 cosmit in plot_cv_predict 2015-07-28 08:34:09 +02:00
Phil Roth f9e07364d6 Adding a new kmeans example. 2015-07-23 14:43:26 -04:00
edson duarte bc5155f080 Fixed small typos in SVM examples. 2015-07-14 22:37:08 -03:00
Vincent e28b6bdcf1 Added random seed for facial recognition example and updated the docstring 2015-07-11 21:49:07 +00:00
Yury Zhauniarovich d9e46314b0 Updated graph ranges
The minimum and maximum values for the graph were not correctly defined.
2015-07-10 14:13:56 +02:00
Chyi-Kwei Yau 5b7768b52e fix feature_names 2015-07-07 22:42:31 -04:00
Eduardo Caro 0e976e10f7 Change name of variable to be consistent with dataset 2015-07-02 02:13:06 -07:00
Chyi-Kwei Yau 1e74e7d8d1 fix typo and improve doc 2015-06-24 23:32:59 -04:00
Chyi-Kwei Yau 2f1a26e368 merge NMF and LDA example 2015-06-24 00:03:48 -04:00
rasbt c655bb9b0e changed clf to regr in decision tree regression examples 2015-06-17 15:20:23 -04:00
Alexandre Gramfort 38227e17ef Merge pull request #4861 from ltiao/patch-1
Update plot_ols.py (trivial)
2015-06-15 08:40:40 +02:00
Louis Tiao 3396087038 Update plot_ols.py
Minor/trivial NumPy slicing refactor
2015-06-15 16:17:28 +10:00
Andreas Mueller 891b8417c9 DOC remove linewidth in pca/ica example 2015-06-11 13:25:36 -04:00
Andreas Mueller 867da316ff DOC minor sphinx fixes 2015-06-04 16:29:19 -04:00
Andreas Mueller eedc1cddab Use more natural class_weight="auto" heuristic 2015-06-01 12:49:53 -04:00
Chyi-Kwei Yau ffe74abba2 change LDA example to script 2015-05-31 11:04:32 -04:00
Olivier Grisel f3b1208811 FIX typo in RobustScaler example 2015-05-27 11:18:31 +02:00
Andreas Mueller 0b07536990 Merge pull request #4125 from untom/RobustScaler
[MRG + 2] ENH RobustScaler
2015-05-26 18:02:41 -04:00
Alexey Grigorev 1defef0379 printing top terms even if LSI is used 2015-05-24 17:03:45 +02:00
Thomas Unterthiner c12ae6047b Fix documentation errors 2015-05-21 15:36:42 +02:00
Thomas Unterthiner 20c622f819 Improved example 2015-05-20 22:06:44 +02:00
Chyi-Kwei Yau b2eeb33f07 update example and change total_samples in fit method 2015-05-17 00:10:41 -04:00
Chyi-Kwei Yau 3618a02162 fix params and import test coverage 2015-05-16 20:53:01 -04:00
Thomas Unterthiner 283d50bb75 robust_scaling example 2015-05-16 21:53:21 +02:00
Chyi-Kwei Yau c41e640dcc rename variable and minor pep8 fix 2015-05-15 17:39:59 -04:00
Andreas Mueller da9a91d8f5 COSMIT remove unnecessary float casting from tomography example 2015-05-12 16:47:59 -04:00
Andreas Mueller e8356d39d5 FIX add missing numpy imports to VotingClassifier examples, pep8 fixes. 2015-05-12 16:41:44 -04:00
Chyi-Kwei Yau efd5afdb95 fix typos and imporve documentation 2015-05-09 21:31:45 -04:00
Chyi-Kwei Yau efd5e3bf1c don't use sparse.block_diag since it is new in scipy 0.11.0
update params and minor change

add onlineLDA example

rename onlineLDA to LatentDirichletAllocation

raise NotFittedError in trnasform

change model name in LDA example

cython optimization for online LDA model

fix import error

add evaluate_every parameter in online LDA model

add score in LDA model

fix doc format

update variable name and improve docs

fix broken example and change parameter name to n_samples & n_features

add check_non_negative function in LDA

add parameter to specify online/batch VB in fit method

improve documentation

set default hyper parameter to 1 / n_topics

use gen_batches in example

remove old func from example
2015-05-09 19:30:39 -04:00
Gilles Louppe fa5bd2c70b Merge pull request #4692 from kianho/plot-ensemble-oob-trace
Refined the docstring for plot_ensemble_oob.py (#4665)
2015-05-08 14:54:00 +02:00
Kian Ho 2656f7be61 Refined the docstring for plot_ensemble_oob.py.
- Minor change to #4665: cleaned up the writing style of the documentation.
2015-05-08 22:50:42 +10:00
Gael Varoquaux ef94a2a671 Merge pull request #4665 from kianho/plot-ensemble-oob-trace
[MRG+1] Script for example ensemble OOB error plot. Fixes #4273
2015-05-08 11:36:44 +02:00
Alexandre Gramfort 9eb1964724 Merge pull request #4161 from rasbt/ensemble-classifier
[MRG + 2] EnsembleClassifier implementation
2015-05-08 09:21:36 +02:00
Kian Ho e038cb3759 Made more amendments according to PR feedback.
A number of further amendments to the plot_ensemble_oob.py example
script were suggested in the PR thread and addressed accordingly:

- The ExtraTreesClassifier models were removed from the example, since
  they don't use bootstrapping by default (but can be using bootstrap=True).

- Included the OOB errors for RandomForestClassifier models with various
  max_features values.

- Changed the sample datasets to make for a nicer looking plot.

- Changed "cross-validated" to "validated" in the docstring.

- Added the relevant page numbers to the Hastie et al. reference.

- PEP8 compliance, fixed line > 80 chars.
2015-05-07 18:37:51 +10:00
Kian Ho b6ce3226f7 Amended plot_ensemble_oob.py according to #4665.
@amueller provided feedback on improving my original PR (#4665) of the
plot_ensemble_oob.py script.

A number of major changes were made accordingly:

- Used `matplotlib.pyplot` instead of `pylab`.

- To improve the run-time to <10secs, I reduced the dimensionality of
  the sample dataset and set the max. number of estimators to 150.

- To avoid OOB warnings, the min. number of estimators was set to 15.
  Values <15 would still raise the warnings.

- The script is PEP8-compliant via the `pep8` command-line script. I
  needed to move `print(__doc__)` and author list comments.

- Re-added @amueller to the author list (had mistakenly been removed).

- Added a link to this example to the user-guide under the `Ensemble
  Methods` section.
2015-05-05 17:36:22 +10:00