test_timing | R Documentation |
Plots a histogram chart which shows the fitting time obtained from various regressors/classifiers (using their default values) on the given dataset (X, y).
test_timing(type = 1, X, y)
type |
1 to compare regressors, 2 for comparing classifiers |
X |
Predictors |
y |
Response variables |
X <- matrix(sample(100, 20), nrow = 10) y <- sample(100, 10) test_timing(1, X, y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.