From 06c1fa0d0a4574d9edce550f8e84aaacf27edc14 Mon Sep 17 00:00:00 2001 From: "xuanyi.wang" Date: Mon, 22 May 2023 20:36:31 +0200 Subject: [PATCH] Update page 'Questions concerning R language' --- Questions concerning R language.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Questions concerning R language.md b/Questions concerning R language.md index d345d70..5fd7c22 100644 --- a/Questions concerning R language.md +++ b/Questions concerning R language.md @@ -1,4 +1,4 @@ -*###Applied* +***Applied*** 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 +9,7 @@ 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*** 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 |