sta-363-s20 / community

Discussion, Q&A, everything you want to say, formatted nicely
1 stars 0 forks source link

Lab 02 Ex9 #29

Closed skyzhr621 closed 4 years ago

skyzhr621 commented 4 years ago

I am quite confused that, for the QDA for training data, I get a misclassification rate of 0%. Is that correct or not for this data?

Screenshot 2020-02-08 at 16 33 57
juserrano commented 4 years ago

I am getting the same thing. Have no idea if that's right either haha

LucyMcGowan commented 4 years ago

Looks okay to me - why do you think QDA may perfectly predict in the training data?

skyzhr621 commented 4 years ago

Looks okay to me - why do you think QDA may perfectly predict in the training data?

Screen Shot 2020-02-09 at 12 07 52 PM

I am confused because this is what I got for exercise 9, but it looks different from yours. Do you see any differences/problems with my code?

skyzhr621 commented 4 years ago
Screen Shot 2020-02-09 at 12 07 52 PM

I am confused because this is what I got for exercise 9, but it looks different from yours. Do you see any differences/problems with my code?

I think you graph is correct and that is for the test one. The problem should include both a test and train.