Using lda to do fitting with the same data