Let us instantiate the LDA model before we begin training it with the following code: val lda = new LDA()