@@ -140,6 +140,12 @@ class LinearDiscriminantAnalysis(BaseEstimator, LinearClassifierMixin,
140140 The fitted model can also be used to reduce the dimensionality of the input
141141 by projecting it to the most discriminative directions.
142142
143+ .. versionadded:: 0.17
144+ *LinearDiscriminantAnalysis*.
145+
146+ .. versionchanged:: 0.17
147+ Deprecated :class:`lda.LDA` have been moved to *LinearDiscriminantAnalysis*.
148+
143149 Parameters
144150 ----------
145151 solver : string, optional
@@ -167,9 +173,13 @@ class LinearDiscriminantAnalysis(BaseEstimator, LinearClassifierMixin,
167173 store_covariance : bool, optional
168174 Additionally compute class covariance matrix (default False).
169175
176+ .. versionadded:: 0.17
177+
170178 tol : float, optional
171179 Threshold used for rank estimation in SVD solver.
172180
181+ .. versionadded:: 0.17
182+
173183 Attributes
174184 ----------
175185 coef_ : array, shape (n_features,) or (n_classes, n_features)
@@ -399,6 +409,12 @@ def fit(self, X, y, store_covariance=None, tol=None):
399409 """Fit LinearDiscriminantAnalysis model according to the given
400410 training data and parameters.
401411
412+ .. versionchanged:: 0.17
413+ Deprecated *store_covariance* have been moved to main constructor.
414+
415+ .. versionchanged:: 0.17
416+ Deprecated *tol* have been moved to main constructor.
417+
402418 Parameters
403419 ----------
404420 X : array-like, shape (n_samples, n_features)
@@ -532,6 +548,12 @@ class QuadraticDiscriminantAnalysis(BaseEstimator, ClassifierMixin):
532548
533549 The model fits a Gaussian density to each class.
534550
551+ .. versionadded:: 0.17
552+ *QuadraticDiscriminantAnalysis*
553+
554+ .. versionchanged:: 0.17
555+ Deprecated :class:`qda.QDA` have been moved to *QuadraticDiscriminantAnalysis*.
556+
535557 Parameters
536558 ----------
537559 priors : array, optional, shape = [n_classes]
@@ -567,9 +589,13 @@ class QuadraticDiscriminantAnalysis(BaseEstimator, ClassifierMixin):
567589 If True the covariance matrices are computed and stored in the
568590 `self.covariances_` attribute.
569591
592+ .. versionadded:: 0.17
593+
570594 tol : float, optional, default 1.0e-4
571595 Threshold used for rank estimation.
572596
597+ .. versionadded:: 0.17
598+
573599 Examples
574600 --------
575601 >>> from sklearn.discriminant_analysis import QuadraticDiscriminantAnalysis
@@ -600,6 +626,12 @@ def __init__(self, priors=None, reg_param=0., store_covariances=False,
600626 def fit (self , X , y , store_covariances = None , tol = None ):
601627 """Fit the model according to the given training data and parameters.
602628
629+ .. versionchanged:: 0.17
630+ Deprecated *store_covariance* have been moved to main constructor.
631+
632+ .. versionchanged:: 0.17
633+ Deprecated *tol* have been moved to main constructor.
634+
603635 Parameters
604636 ----------
605637 X : array-like, shape = [n_samples, n_features]
0 commit comments