Skip to content
This repository was archived by the owner on Oct 5, 2025. It is now read-only.

Commit 7dc6da6

Browse files
authored
fix missing parens (see #1)
1 parent 7d59cbc commit 7dc6da6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

30-sml.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ model <- train(medv ~ .,
335335
number = 10))
336336
model
337337
p <- predict(model, Boston)
338-
sqrt(mean(p - Boston$medv)^2)
338+
sqrt(mean((p - Boston$medv)^2))
339339
```
340340
</details>
341341

0 commit comments

Comments
 (0)