We will be working with the Penguin dataset again as we did for Homework #1. Please use “Species” as your target variable. For this assignment, you may want to drop/ignore the variable “year”.
Using the target variable, Species, please conduct:
- LinearDiscriminantAnalysis:
- Youwanttoevaluateallthe‘features’ordependentvariablesandsee what should be in your model. Please comment on your choices.
- Justasuggestion:YoumightwanttoconsiderexploringfeaturePlot on the caret package. Basically, you look at each of the features/dependent variables and see how they are different based on species. Simply eye-balling this might give you an idea about which would be strong ‘classifiers’ (aka predictors).
- Fit your LDA model using whatever predictor variables you deem appropriate. Feel free to split the data into training and test sets before fitting the model.
- Lookatthefitstatistics/accuracyrates.
- QuadraticDiscriminantAnalysis
a. Samestepsasabovetoconsider
- Naïve Bayes
a. Samestepsasabovetoconsider
- Commentonthemodelsfits/strength/weakness/accuracyforallthesethree models that you worked with. (10 points)

