Skip to main content

Table 2 XGBoost classifier hyper-parameters

From: Detecting web attacks using random undersampling and 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