bt_estimate_squad: Perform estimation of squad classifier

View source: R/bt_estimate_squad.R

bt_estimate_squadR Documentation

Perform estimation of squad classifier

Description

Perform estimation of squad classifier

Usage

bt_estimate_squad(
  detectives = NULL,
  squad.level = 0.7,
  train.share = 0.82,
  squad.model = "XGB",
  squad.robustness = 0,
  detective.log = "content/0 core/Classifier statistics & history.Rdata",
  squad.log = "content/0 core/Squad statistics & history.Rdata",
  estimation.data = "data/classifier/training data.Rdata",
  limit.classification = 50000
)

Arguments

detectives

the squad to be estimated

squad.level

min threshold for the squad score

train.share

train:test split ratio

squad.model

which model to use for the squad

detective.log

location of the log file

squad.log

location of the squad log file

estimation.data

the data to be used for testing

limit.classification

reduces the amount of rows of data to test to reduce comp load (my 4GB ram laptop tends to error above ~50k rows hence this being the default value)

Value

Several data frames about how the detective did.

Several data frames about how the detective did.

Author(s)

Johannes Fritz for GTA Bastiat, please estimate a new squad classifier based on the best detectives.

Johannes Fritz for GTA

References

www.globaltradealert.org

www.globaltradealert.org


global-trade-alert/gtabastiat documentation built on June 4, 2023, 6:40 a.m.