# HG changeset patch # User deepakjadmin # Date 1496961233 14400 # Node ID 3221ecaeb967f7ed5a079fdebd8ebacf345b9270 # Parent 31ec202700b05b42decc93c6e0d545d755fdd8c3 Uploaded diff -r 31ec202700b0 -r 3221ecaeb967 templateLibrary.py --- 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