estimate_accuracies: Estimate the accuracy of models on a dataset

Description Usage Arguments Value

View source: R/kohavi.R

Description

estimate_accuracies repeatedly trains and evaluates models on a given dataset.

Usage

1
2
3
4
5
6
7
8
estimate_accuracies(
  dataset_name,
  dataset,
  nsamples,
  times = 500,
  models = my_model_list,
  seed = 2021
)

Arguments

dataset_name

a unique string identifying the dataset

dataset

the data set to use

nsamples

how large the training set should be

times

how many times to train and test the models, default 500

models

the models to train

seed

random seed

Value

a matrix of accuracies, where each row corresponds to a model


tfglynn/sdsu-research-code documentation built on Jan. 31, 2022, 12:04 a.m.