fit_catch_prob_xgb: fit_catch_prob_xgb fit the xgboost catch prob model

Description Usage Arguments Value

View source: R/fit_models.R

Description

fit_catch_prob_xgb fit the xgboost catch prob model

Usage

1
fit_catch_prob_xgb(workflow, pars, data_split, data, mod)

Arguments

workflow

a workflow object

pars

a tibble of the parameters (generally output from tune::select_best())

data_split

a data_split object

data

a full data frame to fit the model on

mod

the name of the model ('a' for arrival, 't' for throw)

Value

a list with the final xgboost model and the modeling results (auc, acc, etc.)


hjmbigdatabowl/bdb2021 documentation built on Feb. 14, 2021, 1:35 a.m.