02 Quiz A
A quiz or problem set on ISL Chapter 2.
-
Explain whether you would generally expect a flexible or inflexible learning method to perform better. Explain why.
-
For each scenario: (a) regression or classification? (b) inference or prediction? (c) What are n and p?
-
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?