Skip to content

Commit 10b0eeb

Browse files
committed
Archive unwanted real data analyses
1 parent 071f342 commit 10b0eeb

File tree

5 files changed

+0
-123
lines changed

5 files changed

+0
-123
lines changed

real_data.org

Lines changed: 0 additions & 123 deletions
Original file line numberDiff line numberDiff line change
@@ -115,129 +115,6 @@ $p=13$, $n=303$. Repeat $m=100,300$ times for average test error.
115115
| 0.7 | 17.33 (0.17) | 17.22 (0.18) | 20.26 (0.21) | 17.04 (0.18) | 16.90 (0.19) | 17.42 (0.18) |
116116
| 0.8 | 17.66 (0.23) | 17.54 (0.24) | 19.98 (0.26) | 17.29 (0.24) | 17.02 (0.24) | 17.46 (0.26) |
117117

118-
* Accent Recognition
119-
120-
#+name: accent recognition setup
121-
#+begin_src R
122-
seed <- 2020
123-
m <- 100
124-
per <- c(0.4, 0.5, 0.6, 0.7, 0.8)
125-
ar <- read.csv("real_data/accent-mfcc-data-1.csv")
126-
ar <- ar[c(which(ar[, 1] == "GE"), which(ar[, 1] == "FR")), ]
127-
y <- ar[, 1]
128-
id0 <- which(y == "GE")
129-
id1 <- which(y == "FR")
130-
y[id0] <- 0
131-
y[id1] <- 1
132-
y <- as.numeric(y)
133-
x <- data.matrix(ar[, 2:13])
134-
#+end_src
135-
136-
#+call: data split()
137-
138-
#+call: models evaluation(qda="FALSE",name="accent_rec")
139-
140-
#+call: data summary[:results value replace :colnames yes](name="accent_rec")
141-
142-
#+RESULTS:
143-
| pct. | DSDA | LDA | QDAP | RDA | SQDA |
144-
|------+--------------+--------------+--------------+--------------+--------------|
145-
| 0.4 | 12.92 (0.80) | 14.58 (0.75) | 19.25 (1.11) | 12.58 (0.72) | 15.78 (0.82) |
146-
| 0.5 | 11.00 (0.70) | 11.10 (0.57) | 15.43 (1.14) | 10.03 (0.56) | 13.47 (0.63) |
147-
| 0.6 | 9.33 (0.59) | 9.83 (0.50) | 11.21 (0.69) | 9.17 (0.61) | 12.67 (0.75) |
148-
| 0.7 | 8.61 (0.67) | 7.83 (0.56) | 7.94 (0.57) | 8.56 (0.61) | 12.06 (0.73) |
149-
| 0.8 | 7.42 (0.78) | 7.50 (0.86) | 7.42 (0.86) | 6.92 (0.64) | 10.00 (0.83) |
150-
151-
* Parkinson Disease
152-
153-
#+name: parkinson disease setup
154-
#+begin_src R
155-
seed <- 2020
156-
m <- 100
157-
per <- c(0.4, 0.5, 0.6, 0.7, 0.8)
158-
pd <- read.csv("real_data/ParkinsonDatabase.csv")
159-
y <- pd[, 3]
160-
id0 <- which(y == 0)
161-
id1 <- which(y == 1)
162-
x <- data.matrix(pd[, 5:48])
163-
x[, 2] <- x[, 2] * 10000
164-
#+end_src
165-
166-
#+call: data split()
167-
168-
#+call: models evaluation(name="parkinson")
169-
170-
#+call: data summary[:results value replace :colnames yes](name="parkinson")
171-
172-
#+RESULTS:
173-
| pct. | DSDA | LDA | QDA | QDAP | RDA | SQDA |
174-
|------+--------------+--------------+--------------+--------------+--------------+--------------|
175-
| 0.4 | 22.15 (0.66) | 32.50 (1.29) | 39.58 (0.83) | 28.61 (1.04) | 21.18 (1.03) | 23.40 (1.36) |
176-
| 0.5 | 19.67 (1.25) | 27.92 (1.44) | 30.92 (1.18) | 25.42 (1.74) | 18.25 (0.92) | 26.50 (1.15) |
177-
| 0.6 | 20.10 (0.79) | 27.08 (1.39) | 27.40 (2.09) | 25.31 (1.60) | 19.48 (0.60) | 22.71 (0.90) |
178-
| 0.7 | 17.78 (1.07) | 22.50 (1.53) | 26.81 (1.66) | 20.14 (1.36) | 15.69 (1.49) | 21.81 (1.59) |
179-
| 0.8 | 21.88 (2.20) | 23.75 (2.02) | 24.17 (1.36) | 23.33 (1.88) | 20.21 (2.01) | 23.54 (1.39) |
180-
181-
* Heart Failure Clinical Records
182-
183-
#+name: heart failure setup
184-
#+begin_src R
185-
seed <- 2020
186-
m <- 100
187-
per <- c(0.4, 0.5, 0.6, 0.7, 0.8)
188-
hf <- read.csv("real_data/heart_failure_clinical_records_dataset.csv")
189-
y <- hf[, 13]
190-
id0 <- which(y == 0)
191-
id1 <- which(y == 1)
192-
x <- data.matrix(hf[, 1:12])
193-
#+end_src
194-
195-
#+call: data split()
196-
197-
#+call: models evaluation(name="heart_failure")
198-
199-
#+call: data summary[:results value replace :colnames yes](name="heart_failure")
200-
201-
#+RESULTS:
202-
| pct. | DSDA | LDA | QDA | QDAP | RDA | SQDA |
203-
|------+--------------+--------------+--------------+--------------+--------------+--------------|
204-
| 0.4 | 21.71 (0.58) | 19.34 (0.22) | 26.71 (0.26) | 19.73 (0.30) | 19.12 (0.27) | 18.39 (0.31) |
205-
| 0.5 | 22.06 (0.64) | 19.00 (0.29) | 25.26 (0.29) | 19.30 (0.32) | 18.57 (0.29) | 18.56 (0.33) |
206-
| 0.6 | 20.55 (0.56) | 18.39 (0.27) | 24.61 (0.28) | 19.63 (0.34) | 18.03 (0.28) | 18.03 (0.32) |
207-
| 0.7 | 18.71 (0.56) | 17.50 (0.37) | 25.11 (0.37) | 18.23 (0.39) | 16.92 (0.39) | 17.88 (0.44) |
208-
| 0.8 | 19.18 (0.60) | 17.65 (0.43) | 25.00 (0.47) | 18.33 (0.44) | 17.72 (0.47) | 17.88 (0.45) |
209-
210-
* Breast Cancer Coimbra
211-
212-
#+name: breast cancer coimbre setup
213-
#+begin_src R
214-
seed <- 2020
215-
m <- 100
216-
per <- c(0.4, 0.5, 0.6, 0.7, 0.8)
217-
bcc <- read.csv("real_data/Breast Cancer Coimbra.csv")
218-
y <- bcc[, 10]
219-
id0 <- which(y == 2)
220-
id1 <- which(y == 1)
221-
y[id0] <- 0
222-
y[id1] <- 1
223-
x <- data.matrix(bcc[, 1:9])
224-
#+end_src
225-
226-
#+call: data split()
227-
228-
#+call: models evaluation(name="breast_cancer_coimbra")
229-
230-
#+call: data summary[:results value replace :colnames yes](name="breast_cancer_coimbra")
231-
232-
#+RESULTS:
233-
| pct. | DSDA | LDA | QDA | QDAP | RDA | SQDA |
234-
|------+--------------+--------------+--------------+--------------+--------------+--------------|
235-
| 0.4 | 31.99 (0.53) | 31.29 (0.52) | 32.83 (0.47) | 35.71 (0.73) | 31.75 (0.57) | 36.09 (0.55) |
236-
| 0.5 | 32.14 (0.59) | 29.67 (0.54) | 31.34 (0.59) | 36.76 (0.79) | 31.33 (0.71) | 34.52 (0.65) |
237-
| 0.6 | 32.94 (0.69) | 30.19 (0.66) | 33.89 (0.60) | 38.79 (0.74) | 30.26 (0.62) | 35.53 (0.64) |
238-
| 0.7 | 31.20 (0.79) | 29.49 (0.66) | 32.29 (0.65) | 36.03 (0.97) | 29.37 (0.66) | 33.71 (0.70) |
239-
| 0.8 | 30.57 (1.06) | 29.43 (0.99) | 37.48 (0.83) | 42.13 (0.90) | 30.04 (0.93) | 36.57 (0.89) |
240-
241118
* Various Code Blocks
242119
:PROPERTIES:
243120
:APPENDIX: t
File renamed without changes.

real_data/heart_failure_clinical_records_dataset.csv renamed to real_data/archive/heart_failure_clinical_records_dataset.csv

File renamed without changes.

0 commit comments

Comments
 (0)