Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


less (version 0.1.0)

test_timing: Compare Fitting Time

Description

Plots a histogram chart which shows the fitting time obtained from various regressors/classifiers (using their default values) on the given dataset (X, y).

Usage

test_timing(type = 1, X, y)

Arguments

type

1 to compare regressors, 2 for comparing classifiers

X

Predictors

y

Response variables

Examples

Run this code
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