Commit Graph

49 Commits

Author SHA1 Message Date
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
Andreas Mueller 0650d5502e DOC adding backlinks to docstrings 2015-06-03 00:24:04 -04:00
Loïc Estève 67dcd99d82 TST fix tests with numpy 1.6.1
np.bincount raises an Exception with empty input arrays for numpy versions < 1.6.2
Add utils.fixes.bincount to tackle this issue and use it instead of np.bincount
2015-02-01 15:49:49 +01:00
Raghav R V b3fbccca38 FIX various mismatch between docstring and signature params
DOC max_iterations -> max_iter. Make it consistent with kmeans

MAINT Replace the deprecated dx parameter with d in the docstrings

MAINT Deprecation warning for max_iterations parameter.
2015-01-16 11:54:57 -05:00
Raghav R V abd31d2cad MAINT Make uniform the error raised for not fitted condition 2015-01-12 00:33:40 +05:30
x0l 94b2e9471c ignore warnings, change docstring 2014-12-27 19:14:32 +01:00
x0l 17ea0db99e warning -> error
though we can check if reg_param > 0 and then use spherical covariance,
let's keep things simple
2014-12-27 19:12:23 +01:00
x0l a72da02ffc warning + log of prod -> sum of log 2014-12-27 19:12:23 +01:00
x0l 1c2871189b Fix a bug occurring when n_samples in a class < n_features
Fix case n_sample in a class == 1
2014-12-27 19:12:23 +01:00
Joel Nothman b3bdb08964 DOC fix formatting of attributes etc. in docstrings 2014-07-28 19:04:59 +10:00
Andreas Mueller 6e2a83b4e1 remove check_arrays stuff and old input validation 2014-07-20 13:31:45 +02:00
Lars Buitinck b97fb3c5fc MAINT drop support for NumPy < 1.6.1 2014-03-02 20:13:57 +01:00
Lars Buitinck a82b31547d MAINT remove deprecated parameters (the easy cases) 2013-08-08 10:00:22 +02:00
Andreas Mueller 716fbb062c much better input validation, test that warning is raised on (n_samples, 1) y 2013-07-28 16:08:16 +02:00
Andreas Mueller e488704849 COSMIT pep8 2013-07-23 15:17:32 +02:00
sergeyf d147ad5638 Update qda.py 2013-07-09 14:45:54 -07:00
sergeyf 445db733ff Update qda.py 2013-07-09 14:30:26 -07:00
sergeyf 9abb39f885 reg_param is a float 2013-07-09 14:10:38 -07:00
sergeyf 49de26ae35 Updating to ensure pep8 compliaance 2013-07-09 13:58:34 -07:00
sergeyf a2f2d6dd97 Missed a space! 2013-07-09 10:42:31 -07:00
sergeyf c6dfe7e963 Update qda.py 2013-07-09 10:34:09 -07:00
sergeyf 43fda2294c Update qda.py 2013-07-09 10:32:33 -07:00
Sergey Feldman 90f3f580e2 Adding covariance regularization to QDA 2013-07-09 08:29:38 -07:00
Robert Layton dacfd8bd5d DOC: Replaced all BSD style licenses with "BSD 3 clause"
Replaced all BSD style licenses with "BSD 3 clause"
Not checked yet!

Removed duplicate "3 clause, 3 clause"

Removed trailing period if exists

Fixed some missed licences, still about 50 to do, but those can be automated

Think I got the last of them.

Apparently me and sed have different ideas of regex.

Found a few more
2013-04-30 08:34:46 +02:00
Lars Buitinck 541987802f P3K range vs. xrange 2013-02-14 02:05:35 +01:00
Lars Buitinck 69d1650613 COSMIT rm deprecated attrs from [LQ]DA 2013-01-22 02:22:40 +01:00
Andreas Mueller 9bbca58343 DOC cosmit fix column span alignment errors. 2013-01-19 15:45:27 +01:00
Andreas Mueller 1574e6d902 ENH document attributes in QDA and LDA, rename to adhere to sklearn conventions. 2013-01-05 14:54:31 +01:00
Andreas Mueller af101ccd10 ENH check in all classifiers in fit and predict that input is finite. inspired by #1027. 2012-11-10 15:53:57 +00:00
Daniel Nouri e4355fb251 Don't cover this deprecated method 2012-11-02 16:18:26 +01:00
Vlad Niculae 006e7ef801 Add __all__ for the second half of the scikit 2012-09-04 18:00:49 +01:00
Vlad Niculae 9e7c03f71a Add or fix deprecation schedule in warnings. 2012-09-01 20:02:14 +02:00
Andreas Mueller f540875964 ENH addressed @agramfort's comment, also removed the special case from testing as @mblondel fixed it :) 2012-09-01 12:23:09 +02:00
Andreas Mueller 20192603d6 ENH make QDA and LDA decision functions adhere to standard shape [n_samples,] in two class case. 2012-09-01 12:23:09 +02:00
Andreas Mueller 3a1aaf99fa Merge branch 'qda_lda_1000' of github.com:amueller/scikit-learn into qda_lda_1000
Conflicts:
	sklearn/lda.py
	sklearn/qda.py
2012-08-17 17:00:31 +01:00
Andreas Mueller 755a5dd358 ENH going back to not using LabelEncoder. 2012-08-17 16:50:07 +01:00
Andreas Mueller 9ecca834db FIX Removed code-duplication introduced in rebase. 2012-08-14 15:06:35 +01:00
Andreas Mueller 53c1126c80 ENH use LabelEncoder 2012-08-14 13:36:14 +01:00
Andreas Mueller 0b7c93ce31 ENH slight cleanup in LDA, QDA, support for arbitrary class labels. 2012-08-14 13:33:43 +01:00
Gael Varoquaux a12bd7bc7c ENH: understandable error message for X sparse 2012-08-10 11:23:00 +01:00
Andreas Mueller 8dae4c692d ENH use LabelEncoder 2012-08-08 10:02:35 +01:00
Andreas Mueller 6df5d76a13 ENH slight cleanup in LDA, QDA, support for arbitrary class labels. 2012-08-08 10:02:30 +01:00
Subhodeep Moitra 68062a2462 P3K: Fixed print related Python3 errors 2012-05-11 11:21:01 +02:00
Andreas Mueller 70347ccfd4 DOC Added QDA to references, narrative docs, improved docstrings 2012-03-04 17:22:46 +01:00
Andreas Mueller ada1520a86 DOC Basic docstrings for LDA and QDA classes 2012-03-04 17:22:46 +01:00
Lars Buitinck 3bde2bf97b ENH accept matrix input throughout
Simple solution: replace np.asanyarray with np.asarray throughout.
Also, use utils.as_float_array where appropriate.
2011-10-21 13:51:12 +02:00
Fabian Pedregosa ddf4b72109 Move project directory from scikits.learn to sklearn 2011-09-02 12:06:57 +02:00
Fabian Pedregosa 68f27e3790 Revert "Move project directory from scikits.learn to sklearn"
This reverts commit fd0d3b879d.
2011-09-02 12:03:18 +02:00
Fabian Pedregosa fd0d3b879d Move project directory from scikits.learn to sklearn 2011-09-02 11:38:24 +02:00