1 | preprocess(CPM_type, raw_data, class_index)
|
CPM_type |
options for classification or cox regression. Input either "cox" or "classification". |
raw_data |
input dataset include label and features |
class_index |
The column index of the label |
1 2 3 4 5 6 7 8 9 | ## Set output Rdata file.
output_path = "./output.rda"
## The function will relocate the label to the first column.
preprocess("classification", iris, c(5))
[1] "1 : Species"
[1] "2 : Sepal.Length"
[1] "3 : Sepal.Width"
[1] "4 : Petal.Length"
[1] "5 : Petal.Width"
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.