scikit-learn/scikit-learn — pull request #1000 by amueller (2012-08-08 08:59:40+00:00)
Title: MRG Qda lda 1000

A little cleanup and support for arbitrary classes in LDA and QDA.
As @mblondel suggested I reused LabelEncoder. I'm not sure that really helps here, though.
Please have a look at the second commit. It seems to me using LabelEncoder makes the code longer and harder to read. WDYT?