File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -1249,7 +1249,7 @@ does this by first finding the $K$ points in the training data nearest
1249
1249
to the new observation, and then returning the majority class vote from those
1250
1250
training observations. We can tune and evaluate a classifier by splitting the data randomly into a
1251
1251
training and test data set. The training set is used to build the classifier,
1252
- and we can tune the classifier (e.g., select the number of neighbors in $K$ -NN)
1252
+ and we can tune the classifier (e.g., select the number of neighbors in K -NN)
1253
1253
by maximizing estimated accuracy via cross-validation. After we have tuned the
1254
1254
model we can use the test set to estimate its accuracy.
1255
1255
The overall process is summarized in Figure \@ ref(fig:06-overview).
You can’t perform that action at this time.
0 commit comments