# -------------------------------------------------------------------------------------------------
# -------------------------------------------------------------------------------------------------
renameDfColumns = function(values) {
colnames(values)[grep("acc.test.mean", colnames(values))] = "predictive.accuracy"
colnames(values)[grep("timetrain.test.sum", colnames(values))] = "usercpu.time.millis.training"
colnames(values)[grep("timepredict.test.sum", colnames(values))] = "usercpu.time.millis.testing"
return(values)
}
# -------------------------------------------------------------------------------------------------
# -------------------------------------------------------------------------------------------------
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.