02 Quiz A

A quiz or problem set on ISL Chapter 2.
  1. Explain whether you would generally expect a flexible or inflexible learning method to perform better. Explain why.

  2. For each scenario: (a) regression or classification? (b) inference or prediction? (c) What are n and p?

  3. Make a graph using R. Then use K-nearest neighbors with K=3 to classify the mystery point.

Application

  • Side-by-side boxplot.
  • Create a new qualitative variable.
  • Histogram
  • Which variables would be useful to predict X?
Last modified August 18, 2023: 2022-2023 End State (7352e87)