Part 1
What XGBoost adds to crime forecasting
XGBoost stands for Extreme Gradient Boosting. It is a supervised
machine-learning method that builds many decision trees in sequence, where each new tree
tries to correct errors made by the previous ones.
For forecasting work, XGBoost is often used when structured data contains mixed feature
types, nonlinear relationships, threshold effects, and interactions between variables such
as time, weather, land use, and area characteristics.
- It handles structured tabular data well.
- It can capture interactions such as weekend evening + nightlife area + rain.
- It usually performs strongly without heavy feature scaling.
- It can be tuned for regression tasks such as hourly incident-count prediction.
Part 2
How it fits a public safety demo
In a full machine-learning version, the target could be incident_count for one
sample area at one hour. Candidate features would include:
- area type, density, population, nightlife, student, and vulnerability markers
- hour of day, day of week, weekend/night indicators, and seasonality
- weather context and persistence blocks
- historical incident patterns from past area-hour combinations
The application layer would then convert predicted incident counts into map colors,
patrol-planning signals, risk bands, and short operational summaries.