Integrated lda into makeDecision