Closed Cindyyyhey closed 4 years ago
You may need to run the rsv chunk and the chunk where g is first predicted and then run the qda model again. Or, you may need to change the name of g when turn it to a factor to conduct the confusion matrix.
Check the issue #26! She helped me out there by adding this line before you fit the model: train$lda_predicted_class <- NULL
Thanks you @skywang0407 Let me try that!
Thanks! @juserrano
Dear Professor Lucy,
I'm working on exercise 9 about qda. I tried to fit the model for qda, but there is an error about "rank deficiency in group aa" in line 151. I’m not quite sure what that means.
Thanks a lot!