MATH 456 Homework 09
Due 2026-04-30 by 11:59pm
Use the penguins data set (with associated metadata to answer the questions below. Please push the data set into your GitHub repository for this homework.
-
Use the library
glmnetto fit a cross-validated regularizedfamily = multinomialmodel model that predicts whichislandeach penguin is from. -
Calculate the predicted probabilities for each island. For any one penguin, display and interpret the three predicted probabilities.
-
Calculate the training accuracy of your model. What proportion of your predictions are correct?