Commit Graph

384 Commits

Author SHA1 Message Date
Raghav R V e3afc0e8c9 MAINT move custom error/warning classes into sklearn.exceptions
ENH NonBLASDotWarning -> EfficiencyWarning; Improve error message
DOC Add exceptions module to modules/classes.rst
MAINT Move ConvergenceWarning, UndefinedMetricWarning et al into exceptions
MAINT Remove ChangedBehaviorWarning from base
DOC/FIX Improve DataConversionWarning's docstring
2015-10-19 22:35:35 +02:00
Jan Hendrik Metzen 1813322d0a DOC Documenting GP kernel API 2015-10-19 18:07:14 +02:00
Jan Hendrik Metzen 5c2725b4e0 DOC Cleaning up documenation of legacy GPs 2015-10-19 18:07:13 +02:00
Jan Hendrik Metzen 0de854a8b0 DOC Updated documentation of Gaussian process classifier 2015-10-19 18:07:12 +02:00
Jan Hendrik Metzen 955aa60571 DOC Adding documentation on Matern kernel 2015-10-19 18:07:12 +02:00
Jan Hendrik Metzen d26c355374 DOC Adding documentation for GP kernels 2015-10-19 18:07:11 +02:00
Clyde-fare a60152655b Added laplacian kernel
A variant of the rbf kernel that uses the L1 norm.
Updated docs and kernel references.
2015-10-14 13:56:57 -04:00
MechCoder 2ee718cc75 Add narrative docs and fix examples 2015-10-05 11:25:06 -04:00
Vinayak Mehta 679936f6bc MAINT Deprecate LDA/QDA in favor of expanded names
The LDA accronym for Linear Discriminant Analysis is ambiguous
because of the newly introduced Latent Dirichlet Allocation model.

We therefore deprecate the sklearn.lda.LDA and sklearn.lda.QDA
in favor of explicit names.
2015-09-11 15:32:11 +02:00
Gilles Louppe cf7bc7b035 ENH: rename to LabelKFold
COSMIT: doc, pep8, etc

Refactor code
2015-09-07 09:56:19 +02:00
Jean Kossaifi 6eb4028519 Added subject independent KFold
Changed SubjectIndependentKFold to DisjointGroupKFold

cosmetic changes  test (fix seed correctly, use assert_equal for
meaningful error messages)

Changed name to DisjointLabelKFold

Added example of use

FIX: whitespace related doctest failure

FIX: Python 2.6 requires the field numbers in print

FIX: change docstring to comment in test function

DOC: moved docstring from function to class

FIX: added call to parent class

FIX: error in calling the parent

DOC: fixed doctest

FIX: doctest

Cosmetic changes (minor refactoring)

Optimised code (use np.bincount)

Cosmetic: use samples instead of weight for clarity

Minor fix: removed shuffle parameter

Cosmetic

Use mergesort instead of quicksort for reproducibility.

Changed variable name 'y' to 'label'.

Added test for degenerate case where n_folds > n_labels.

Documented the requirement n_labels > n_folds.

DOC: improved description + added see also sections.

Fixed dtype of temporary arrays.

Improved test: check that one label is not in both test and training.

Added documentation for DisjoinLabelKFold.
2015-09-07 09:53:58 +02:00
Gilles Louppe 337a6ba1b3 DOC: add cross_validation.LabelShuffleSplit to classes.rst 2015-08-30 12:05:15 +02: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
TomDLT 81de81a01a ENH implement LYRL2004 train/test split of rcv1 2015-07-16 19:21:24 +02:00
Thomas Unterthiner 0e5db844c6 Add missing scalers to classes.rst 2015-07-02 11:33:47 +02:00
Joel Nothman 99d08b571e DOC organise documentation hierarchy / table of contents 2015-06-12 08:09:41 +10:00
Andreas Mueller 2c79a987c2 Merge pull request #4431 from vortex-ape/deprecate_func
[MRG + 2] Deprecates load_lfw_pairs and load_lfw_people
2015-06-01 11:46:25 -04:00
Olivier Grisel 549ecaefe2 DOC various fixes in whats_new.rst
- add missing class link for VotingClassifier
- document the new RobustScaler
- fix some author links
- fix some 80 columns violations
2015-05-27 14:37:42 +02:00
Chyi-Kwei Yau 6826e133bf add LDA to classes.rst 2015-05-25 23:52:26 -04:00
Andreas Mueller 669a4ea853 ENH add high-level estimator-validation function 2015-04-28 16:46:13 -04:00
Arnaud Joly c5358caab2 ENH add ranking_loss multilabel ranking metric 2015-04-24 10:23:43 +02:00
Vinayak Mehta ce5fada305 Deprecated load_lfw_pairs and load_lfw_people
Added deprecated decorator

Added import statement

Added tests

Added newline

Ignored deprecation warnings

Renamed tests for fetch_lfw_

Added imports for load_lfw_
2015-04-10 15:15:40 +05:30
Andreas Mueller 59efcb554f DOC/MAINT remove deleted cluster.Ward from references. 2015-03-25 20:20:53 -04:00
Jan Hendrik Metzen c340f1f0b0 DOC Narrative doc for the calibration module 2015-02-20 19:37:11 +01:00
Andreas Mueller 0c5b0f7f77 add PredefinedSplit to classes.rst and whats_new.rst 2015-01-21 17:05:24 -05:00
Mathieu Blondel bdacaba7c2 Kernelized ridge regression -> Kernel ridge regression 2015-01-21 11:50:54 +09:00
Jan Hendrik Metzen 9046a38616 DOC Added kernel_ridge to classes.rst 2015-01-18 10:47:09 +01:00
Olivier Grisel a8fc5228c1 ENH more LSH scalability example and doc improvements 2014-12-18 19:47:04 +01:00
Fabian Pedregosa 780fb237d2 DOC: make LinearSVR appear in the doc reference 2014-12-15 18:12:20 +01:00
Alexandre Gramfort 6dab7c5c8a Merge pull request #3802 from MechCoder/birch
[MRG+1] Clustering algorithm - BIRCH
2014-12-11 23:10:43 +01:00
Joel Nothman 081a554698 FIX P/R/F metrics and scorers are now for binary problems only by default
Scorers for different average parameters have been added.
2014-12-09 13:56:51 +11:00
MechCoder f4afc7ecf0 ENH: Add narrative documentation 2014-12-05 14:07:16 +01:00
gpassino 969e677353 DOC fix kernels documentation inconsistencies
Fixes gh-3916, gh-2901.
2014-12-01 11:51:36 +01:00
Arnaud Joly 4ee736025f DOC add missing load_svmlight_files to api references 2014-11-28 12:08:29 +01:00
Arnaud Joly 81ac899714 ENH add coverage multilabel ranking metric 2014-11-27 12:42:47 +01:00
Olivier Grisel f0fe4afd1e Merge pull request #2949 from FlorianWilhelm/theilsen
[MRG+1] TheilSen robust linear regression
2014-11-20 15:34:01 +01:00
Luis Pedro Coelho 2f275de41d ENH Add cross_val_predict function
This function returns the cross-validated prediction for each element in
the input data (i.e., the prediction that is made when that object is in
the test set).
2014-11-03 11:51:10 +11:00
Arnaud Joly afae1c7bbd DOC add missing public function into the references 2014-10-24 14:42:09 +02:00
Florian Wilhelm 9ebed286ea Merge branch 'master' into theilsen
Conflicts:
	sklearn/metrics/scorer.py
2014-10-13 10:28:44 +02:00
Florian Wilhelm 076bad6a7c ENH: Removed median_absolute_error due to PR #3761 2014-10-12 15:19:33 +02:00
Florian Wilhelm 577651753e ENH: Added median_absolute_error to metrics 2014-10-10 20:25:22 +02:00
Florian Wilhelm ef43e7d2fb DOC: Narrative doc for median_absolute_error 2014-10-09 14:35:05 +02:00
Florian Wilhelm cf3b476aa4 FIX: TheilSen -> TheilSenRegressor in docs 2014-10-02 09:25:48 +02:00
Florian Wilhelm b0ab714699 Merge branch 'master' into theilsen 2014-09-24 19:30:39 +02:00
Kyle Kastner b2d6a30aeb IncrementalPCA implementation 2014-09-22 13:12:29 -04:00
Florian Wilhelm 8dbec4f76c Merge branch 'master' into theilsen 2014-09-06 10:14:12 +02:00
MechCoder 2ea804e61f Update whats new! 2014-07-22 18:29:51 +02:00
Florian Wilhelm 2fcba229c4 Merge remote-tracking branch 'upstream/master' into theilsen
Conflicts:
	sklearn/metrics/__init__.py
	sklearn/metrics/metrics.py
2014-07-20 15:03:20 +02:00