check training file exists
Merge pull request #29 from yingjieMiao/lda

check training file exists