test_timing {less}R Documentation

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

X <- matrix(sample(100, 20), nrow = 10)
y <- sample(100, 10)
test_timing(1, X, y)

[Package less version 0.1.0 Index]