Skip to content

Commit

Permalink
Followed Jose's tips on inst/models, which is what caret uses. Remove…
Browse files Browse the repository at this point in the history
…d the docs again to not expose these models to the user
  • Loading branch information
egonw committed Jul 29, 2015
1 parent 2c8c13d commit 0e649c8
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 78 deletions.
4 changes: 2 additions & 2 deletions RRegrs/R/RRegrs_Functions.R
Expand Up @@ -1886,7 +1886,7 @@ Yrandom<- function(dss,trainFrac,best.reg,best.R2.ts,noYrand,ResBestF,rfe_SVM_pa
# jseoane
# use:
# svmFuncsGradW: RAKOTOMAMONJY gradient w
data(model.svmRadialReg)
load(system.file("models", "model.svmRadialReg.RData", package = "RRegrs"))

svmFuncsW = caretFuncs ## regular ranking using w
svmFuncsW$fit=function(x,y,first,last,...,tuneGrid){
Expand Down Expand Up @@ -2571,7 +2571,7 @@ ENETreg <- function(my.datf.train,my.datf.test,sCV,iSplit=1,fDet=F,outFile="") {

#library(caret)
#library(glmnet)
data(glmnetModel)
load(system.file("models", "glmnetModel.RData", package = "RRegrs"))

net.c = my.datf.train[,1] # dependent variable is the first column in Training set
RegrMethod <- "glmnet" # type of regression
Expand Down
File renamed without changes.
File renamed without changes.
37 changes: 0 additions & 37 deletions RRegrs/man/glmnetModel.Rd

This file was deleted.

39 changes: 0 additions & 39 deletions RRegrs/man/model.svmRadialReg.Rd

This file was deleted.

0 comments on commit 0e649c8

Please sign in to comment.