Skip to content

Commit ebb5733

Browse files
added under/overfitting to lobjs in reg1, cls2
1 parent 5e73d67 commit ebb5733

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

source/classification2.Rmd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ By the end of the chapter, readers will be able to do the following:
6060
- Evaluate classification accuracy, precision, and recall in R using a test set, a single validation set, and cross-validation.
6161
- Produce a confusion matrix in R.
6262
- Choose the number of neighbors in a K-nearest neighbors classifier by maximizing estimated cross-validation accuracy.
63+
- Describe underfitting and overfitting, and relate it to the number of neighbors in K-nearest neighbors classification.
6364
- Describe the advantages and disadvantages of the K-nearest neighbors classification algorithm.
6465

6566
## Evaluating performance

source/regression1.Rmd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ By the end of the chapter, readers will be able to do the following:
7070
* Evaluate K-NN regression prediction quality in R using the root mean squared prediction error (RMSPE).
7171
* Estimate the RMSPE in R using cross-validation or a test set.
7272
* Choose the number of neighbors in K-nearest neighbors regression by minimizing estimated cross-validation RMSPE.
73+
- Describe underfitting and overfitting, and relate it to the number of neighbors in K-nearest neighbors regression.
7374
* Describe the advantages and disadvantages of K-nearest neighbors regression.
7475

7576
## The regression problem

0 commit comments

Comments
 (0)