From 840748e247f9061e52d74e09702bfbef74649536 Mon Sep 17 00:00:00 2001 From: "xuanyi.wang" Date: Mon, 22 May 2023 20:36:57 +0200 Subject: [PATCH] Update page 'Questions concerning R language' --- Questions concerning R language.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Questions concerning R language.md b/Questions concerning R language.md index 5fd7c22..22a1185 100644 --- a/Questions concerning R language.md +++ b/Questions concerning R language.md @@ -1,4 +1,5 @@ -***Applied*** +***Applied Question*** + This problem involves the `OJ` data set which is part of the `ISLR` package. * Create a training set containing a random sample of 800 observations, and a test set containing the remaining observations. * Fit a support vector classifier to the training data using `cost=0.01`, with `Purchase` as the response and the other variables as predictors. Use the `summary()` function to produce summary statistics, and describe the results obtained. @@ -9,7 +10,8 @@ This problem involves the `OJ` data set which is part of the `ISLR` package. * Repeat parts (ii) through (v) using a support vector machine with a polynomial kernel. Set `degree=2`. * Overall, which approach seems to give the best results on this data? -***Conceptual*** +***Conceptual Question*** + Here we explore the maximal margin classifier on a toy data set. * We are given n = 7 observations in p = 2 dimensions. For each observation, there is an associated class label. | Obs. | X1 | X2 | Y |