From 5227328489b931ae9c772bfc646b9b4c00c55355 Mon Sep 17 00:00:00 2001 From: caes Date: Mon, 23 Jan 2017 05:18:56 -0500 Subject: [PATCH] added notes --- hw1/notes | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 hw1/notes diff --git a/hw1/notes b/hw1/notes new file mode 100644 index 0000000..9d66942 --- /dev/null +++ b/hw1/notes @@ -0,0 +1,18 @@ +1. (a) + +To test the quality of a regression fit use mean squared error. + + 1 ₙ +MSE = ─── ∑ (yᵢ - f̂(xᵢ))² + n ⁱ⁼¹ + + + +Ave(y₀ - f(x₀))² + + +To test the quality of a model in the classification settings, use the error rate: + + 1 ₙ + E = ─── ∑ I(yᵢ ≠ ŷᵢ) + n ⁱ⁼¹