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 July 17, 2018, 7:19 a.m.