Mercurial > repos > deepakjadmin > caret_reg_tool2
changeset 4:3221ecaeb967 draft default tip
Uploaded
author | deepakjadmin |
---|---|
date | Thu, 08 Jun 2017 18:33:53 -0400 |
parents | 31ec202700b0 |
children | |
files | templateLibrary.py |
diffstat | 1 files changed, 9 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/templateLibrary.py Thu Jun 08 17:41:41 2017 -0400 +++ b/templateLibrary.py Thu Jun 08 18:33:53 2017 -0400 @@ -764,15 +764,15 @@ - paramNames <- gsub(".", "", names(modelFit$bestTune), fixed = TRUE) - for(i in seq(along = paramNames)) - { - check <- modelInfo$parameter %in% paramNames[i] - if(any(check)) - { - paramNames[i] <- modelInfo$label[which(check)] - } - } + paramNames <- gsub(".", "", names(modelFit$$bestTune), fixed = TRUE) + ##for(i in seq(along = paramNames)) + ## { + ## check <- modelInfo$parameter %in% paramNames[i] + ## if(any(check)) + ## { + ## paramNames[i] <- modelInfo$label[which(check)] + ## } + ## } paramNames <- gsub("#", "the number of ", paramNames, fixed = TRUE) ## Check to see if there was only one combination fit