CLN: remove collinearity warning from LDA
@@ -383,8 +383,6 @@ class LinearDiscriminantAnalysis(BaseEstimator, LinearClassifierMixin,
U, S, V = linalg.svd(X, full_matrices=False)
rank = np.sum(S > self.tol)
- if rank < n_features:
- warnings.warn("Variables are collinear.")
# Scaling of within covariance is: V' 1/S
scalings = (V[:rank] / std).T / S[:rank]
