View source: R/benchmark_ranking.R
function builds a model and predicts out of fold probabilites
1 | build_model(X_train, y_train, X_test, y_test, param, method)
|
param |
vector of parameters (lm : lambda, knn: neighbors, naive bayes: laplace, rf: num.trees) |
method |
model (one of: lm, knn, naive bayes, rf) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.