Skip to main content

Table 14 XGBoost classifier initialization options

From: Detecting cybersecurity attacks across different network features and 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
max_depth \(= 5\) Prevent overfitting