34475
scikit-learn Docs · نسخهٔ 5e9184e53cd3 · BSD-3-Clause
discriminant_analysis.LinearDiscriminantAnalysisis faster to fit: the
target is ordinal-encoded once in fit and the number of classes is passed down to the internal helpers, removing a redundant pass over the target to recompute the unique class labels. Computing the class means is up to 1.4x faster for large numbers of samples and classes. By Kiyarash Fazeli <Fazel94>.