Code
-# loading packages
-library(tidyverse)
-library(knitr)
-library(ggthemes)
-library(ggrepel)
-library(dslabs)From 01b8fd444128e9b4526eda467af42fbdb81ab114 Mon Sep 17 00:00:00 2001 From: bradmed <79494947+bradmed@users.noreply.github.com> Date: Wed, 6 Sep 2023 15:22:01 -0400 Subject: [PATCH 1/3] Update index.qmd --- index.qmd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.qmd b/index.qmd index 1fd3c877f..f4b269547 100644 --- a/index.qmd +++ b/index.qmd @@ -1,6 +1,6 @@ --- -title: "Report Sample" -author: "Student name" +title: "SVM application in Data Mining in EMR" +author: "Brad Lipson" date: '`r Sys.Date()`' format: html: From 861f9fb0cc34338b674d106fd12f579cba57d414 Mon Sep 17 00:00:00 2001 From: Brad Lipson <89672150+drlipson@users.noreply.github.com> Date: Wed, 6 Sep 2023 15:33:06 -0400 Subject: [PATCH 2/3] Update index.html --- index.html | 7116 ++++++++++++++++++++++++++-------------------------- 1 file changed, 3558 insertions(+), 3558 deletions(-) diff --git a/index.html b/index.html index 17d3afcc1..77d8a620a 100644 --- a/index.html +++ b/index.html @@ -1,3558 +1,3558 @@ - -
- - - - - - - - - -This is an introduction to Kernel regression, which is a non-parametric estimator that estimates the conditional expectation of two variables which is random. The goal of a kernel regression is to discover the non-linear relationship between two random variables. To discover the non-linear relationship, kernel estimator or kernel smoothing is the main method to estimate the curve for non-parametric statistics. In kernel estimator, weight function is known as kernel function (Efromovich 2008). Cite this paper (Bro and Smilde 2014). The GEE (Wang 2014).
-The common non-parametric regression model is \(Y_i = m(X_i) + \varepsilon_i\), where \(Y_i\) can be defined as the sum of the regression function value \(m(x)\) for \(X_i\). Here \(m(x)\) is unknown and \(\varepsilon_i\) some errors. With the help of this definition, we can create the estimation for local averaging i.e. \(m(x)\) can be estimated with the product of \(Y_i\) average and \(X_i\) is near to \(x\). In other words, this means that we are discovering the line through the data points with the help of surrounding data points. The estimation formula is printed below (R Core Team 2019):
-\[ -M_n(x) = \sum_{i=1}^{n} W_n (X_i) Y_i \tag{1} -\] \(W_n(x)\) is the sum of weights that belongs to all real numbers. Weights are positive numbers and small if \(X_i\) is far from \(x\).
-A study was conducted to determine how…
-# loading packages
-library(tidyverse)
-library(knitr)
-library(ggthemes)
-library(ggrepel)
-library(dslabs)# Load Data
-kable(head(murders))| state | -abb | -region | -population | -total | -
|---|---|---|---|---|
| Alabama | -AL | -South | -4779736 | -135 | -
| Alaska | -AK | -West | -710231 | -19 | -
| Arizona | -AZ | -West | -6392017 | -232 | -
| Arkansas | -AR | -South | -2915918 | -93 | -
| California | -CA | -West | -37253956 | -1257 | -
| Colorado | -CO | -West | -5029196 | -65 | -
ggplot1 = murders %>% ggplot(mapping = aes(x=population/10^6, y=total))
-
- ggplot1 + geom_point(aes(col=region), size = 4) +
- geom_text_repel(aes(label=abb)) +
- scale_x_log10() +
- scale_y_log10() +
- geom_smooth(formula = "y~x", method=lm,se = F)+
- xlab("Populations in millions (log10 scale)") +
- ylab("Total number of murders (log10 scale)") +
- ggtitle("US Gun Murders in 2010") +
- scale_color_discrete(name = "Region")+
- theme_bw()This is an introduction to Kernel regression, which is a non-parametric estimator that estimates the conditional expectation of two variables which is random. The goal of a kernel regression is to discover the non-linear relationship between two random variables. To discover the non-linear relationship, kernel estimator or kernel smoothing is the main method to estimate the curve for non-parametric statistics. In kernel estimator, weight function is known as kernel function (Efromovich 2008). Cite this paper (Bro and Smilde 2014). The GEE (Wang 2014).
+The common non-parametric regression model is \(Y_i = m(X_i) + \varepsilon_i\), where \(Y_i\) can be defined as the sum of the regression function value \(m(x)\) for \(X_i\). Here \(m(x)\) is unknown and \(\varepsilon_i\) some errors. With the help of this definition, we can create the estimation for local averaging i.e. \(m(x)\) can be estimated with the product of \(Y_i\) average and \(X_i\) is near to \(x\). In other words, this means that we are discovering the line through the data points with the help of surrounding data points. The estimation formula is printed below (R Core Team 2019):
+\[ +M_n(x) = \sum_{i=1}^{n} W_n (X_i) Y_i \tag{1} +\] \(W_n(x)\) is the sum of weights that belongs to all real numbers. Weights are positive numbers and small if \(X_i\) is far from \(x\).
+A study was conducted to determine how…
+# loading packages
+library(tidyverse)
+library(knitr)
+library(ggthemes)
+library(ggrepel)
+library(dslabs)# Load Data
+kable(head(murders))| state | +abb | +region | +population | +total | +
|---|---|---|---|---|
| Alabama | +AL | +South | +4779736 | +135 | +
| Alaska | +AK | +West | +710231 | +19 | +
| Arizona | +AZ | +West | +6392017 | +232 | +
| Arkansas | +AR | +South | +2915918 | +93 | +
| California | +CA | +West | +37253956 | +1257 | +
| Colorado | +CO | +West | +5029196 | +65 | +
ggplot1 = murders %>% ggplot(mapping = aes(x=population/10^6, y=total))
+
+ ggplot1 + geom_point(aes(col=region), size = 4) +
+ geom_text_repel(aes(label=abb)) +
+ scale_x_log10() +
+ scale_y_log10() +
+ geom_smooth(formula = "y~x", method=lm,se = F)+
+ xlab("Populations in millions (log10 scale)") +
+ ylab("Total number of murders (log10 scale)") +
+ ggtitle("US Gun Murders in 2010") +
+ scale_color_discrete(name = "Region")+
+ theme_bw()