Question: Run the iris dataset example for lda documentation: https://www. rdocumentation.org/packages/MASS/versions/7.3-58.2/topics/lda After training the model, write codes to use the test set to compute the nn

Run the iris dataset example for lda documentation: https://www. rdocumentation.org/packages/MASS/versions/7.3-58.2/topics/lda After training the model, write codes to use the test set to compute the nn filsion matrix and then the values of sensitivity and specificity Please include a screenshot to show your codes and results after running the code. Repeat using logistic regression instead of LDA. Compare the errors (sensitivity and specificity) with the LDA method. Also compare the performances with and without the intercept
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
