classify_n_times: Rerun a model generator and classifier on a training/testing...

View source: R/classify.R

classify_n_timesR Documentation

Rerun a model generator and classifier on a training/testing set multiple times.

Description

Rerun a model generator and classifier on a training/testing set multiple times.

Usage

classify_n_times(
  full_df,
  interesting_meta,
  outcome_column = "finaloutcome",
  p = 0.4,
  list = FALSE,
  formula_string = NULL,
  run_times = 10,
  method = "xgbTree",
  sampler = "cv",
  sample_number = 10,
  tuner = NULL,
  state = NULL,
  ...
)

Arguments

full_df

The matrix of preProcessed() data.

interesting_meta

dataframe of metadata of potential interest.

outcome_column

metadata column of interest.

p

The proportion of training/testing

list

How to return the partitions.

formula_string

Optional formula string, otherwise genrated on thee fly.

run_times

How many times to repeat this process

method

Modelling method to employ with caret.

sampler

Sampler to employ, bootstrap or cv right now.

sample_number

How many times to use the sampler

tuner

Tuning arguments for the method above.

state

When provided, passes the state of the data to the return so it may be reported later.

...

Others, currently unused I think


elsayed-lab/hpgltools documentation built on May 9, 2024, 5:02 a.m.