
Last chance! 50% off unlimited learning
Sale ends in
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)
1 to compare regressors, 2 for comparing classifiers
Predictors
Response variables
X <- matrix(sample(100, 20), nrow = 10)
y <- sample(100, 10)
test_timing(1, X, y)
Run the code above in your browser using DataLab