R/ridge.R

Defines functions ridge

ridge <- function(train_inputs, train_labels, folds.no){
  model <- cv.glmnet(train_inputs,
                     train_labels,
                     alpha=0,
                     nfolds=folds.no)
  return(model)
}
bhklab/PharmacoGxML documentation built on Nov. 1, 2018, 9:23 p.m.