Skip to content

Commit 80269d0

Browse files
accuracy -> RMSPE in reg1
1 parent b320b35 commit 80269d0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/regression1.Rmd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -761,10 +761,10 @@ Here we see that the smallest estimated RMSPE from cross-validation occurs when
761761
If we want to compare this multivariable KNN regression model to the model with only a single
762762
predictor *as part of the model tuning process* (e.g., if we are running forward selection as described
763763
in the chapter on evaluating and tuning classification models),
764-
then we must compare the accuracy estimated using only the training data via cross-validation.
765-
Looking back, the estimated cross-validation accuracy for the single-predictor
764+
then we must compare the RMSPE estimated using only the training data via cross-validation.
765+
Looking back, the estimated cross-validation RMSPE for the single-predictor
766766
model was `r format(round(sacr_min$mean), big.mark=",", nsmall=0, scientific = FALSE)`.
767-
The estimated cross-validation accuracy for the multivariable model is
767+
The estimated cross-validation RMSPE for the multivariable model is
768768
`r format(round(sacr_multi$mean), big.mark=",", nsmall=0, scientific = FALSE)`.
769769
Thus in this case, we did not improve the model
770770
by a large amount by adding this additional predictor.

0 commit comments

Comments
 (0)