search for: patient_

Displaying 1 result from an estimated 1 matches for "patient_".

Did you mean: patient
2017 Dec 02
0
How can you find the optimal number of values to randomly sample to optimize random forest classification without trial and error?
...samples as either control or patient, I want make frequency distributions of presence of each of the 100 variables being considered. To do this, I randomly sample "s" values from each sample and generate a frequency vector of length 100. This is how I would do it: control_s <- list() patient_s <- list()for (i in 1:length(control)) control_s[[i]] <- sample(control[[i]], s)for (i in 1:length(patient)) patient_s[[i]] <- sample(patient[[i]], s) Once I do this, I generate the frequency vector of length 100 as follows: controlfreq <- list()for (i in 1:length(cont...