Skip to content

lijingya/MLTools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Examples

out <- train(super_label ~ ., 
            data = train.df, 
            method = glm_h2o, 
            preProc = c("center", "scale"), 
            # trControl = trainControl(method = "none",classProbs = TRUE, savePredictions = "final"),
            trControl = trainControl(method = "cv", number = 4, classProbs = TRUE, summaryFunction = twoClassSummary, seeds = NA, savePredictions ="final"),
            metric = 'ROC',
            tuneGrid = data.frame(
              solver = "COORDINATE_DESCENT", 
              max_iterations = 19,
              objective_epsilon = 1e-04,
              gradient_epsilon = 1e-06,
              link = "logit",
              lambda_min_ratio = 1e-04,
              max_active_predictors = 5000,
              obj_reg = 0.025, 
              alpha = 0, lambda = 2.1098, lambda_search = FALSE
            )
     )

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages