Skip to main content

Table 3 XGBoost classifier hyper-parameters

From: Investigating rarity in web attacks with ensemble learners

Parameter / Value

Comment

objective = ’binary logistic’

Specify objective function for binary classification

n jobs = 8

Take advantage of parallel processing functionality

n estimators = 4

Prevent overfitting

n max depth = 5

Prevent overfitting