From bda8e91291d5c0e9f81b9b187a4f550f1e2ffc73 Mon Sep 17 00:00:00 2001 From: "xuanyi.wang" Date: Mon, 22 May 2023 21:06:14 +0200 Subject: [PATCH] Update page 'Solutions to the questions concerning R language' --- Solutions to the questions concerning R language.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Solutions to the questions concerning R language.md b/Solutions to the questions concerning R language.md index f3039ce..fdffa29 100644 --- a/Solutions to the questions concerning R language.md +++ b/Solutions to the questions concerning R language.md @@ -438,9 +438,10 @@ plot(x1, x2, col = colors, xlim = c(0, 5), ylim = c(0, 5)) **ii.** The maximal margin classifier has to be in between observations #2, #3 and #5, #6. - +``` (2,2),(4,4) (2,1),(4,3) =>(2,1.5),(4,3.5) b=(3.5−1.5)/(4−2)=1 a=X2−X1=1.5−2=−0.5 +``` \ No newline at end of file