xgb_cdi: XGBOOST Algorithm

Description Usage Arguments Value Examples

View source: R/Base_Functions.R

Description

Use the R XGBOOST machinel-learning algorithm

Usage

1
xgb_cdi(train, test, folds = 5L, scoring = "ROC", scale = 1L)

Arguments

train

Data to train the model on

test

Data to test the model on

folds

Number of cross-validation folds

scoring

Method of scoring to judge model accuracy

scale

Scaling of the importance of the positive class

Value

Model and area under the curve of the model (AUC)

Examples

1
results <- xgb_cdi(train, test, folds = 5L, scoring = "ROC", scale = 1L)

PippintheFoolhardy/SimFunctions documentation built on Dec. 18, 2021, 7:43 a.m.