Description Usage Arguments Details Value Examples
View source: R/deepboost-grid-search.R
Returns optimised parameter list for deepboost model on given data
1 | deepboost.gridSearch(formula, data, k = 10, seed = 666, logging_level = 1)
|
formula |
A R Formula object see : ?formula |
data |
input data.frame as training for model |
k |
number of folds (default = 10) for cross validation optimisation |
seed |
for random split to train / test (default 666) |
logging_level |
print extra data while training 0 - no data, 1 - gridSearch data (default), 2 - all data |
Finds optimised parameters for deepboost training. using grid search techniques over: - predefined, battle tested parameter possible values - cross validation over k folds
vector with average accuracy for chosen parameters, and a list of the best parameter combination: (accuracy, (num_iter, beta, lambda, loss_type))
1 2 | deepboost.gridSearch(y ~ .,
data.frame(x1=rep(c(0,0,1,1),2),x2=rep(c(0,1,0,1),2),y=factor(rep(c(0,0,0,1),2))), k=2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.