Air pollution is a critical issue in many developing cities, including Aguascalientes, Mexico, where \(\hbox {PM}_{2.5}\) concentrations pose significant public health risks. This study employs a feedforward neural network (FNN) as a base model to predict hourly \(\hbox {PM}_{2.5}\) concentrations, integrating meteorological, temporal, and previous state parameters. The model includes all available data to maximize predictive performance. Using techniques such as Sequential Backward Selection, sensitivity analysis, and Shapley additive explanations (SHAP), the study identifies the parameters that contribute the least to model performance. These include certain redundant temporal and meteorological parameters that can be excluded without significantly compromising accuracy. The key influential parameters identified were previous \(\hbox {PM}_{2.5}\) levels, hour of the day, temperature, relative humidity, and wind speed components ( \(\hbox {WS}_x\) and \(\hbox {WS}_y\) ). The optimized model demonstrated moderate predictive performance, with a coefficient of determination ( \(\hbox {R}^2\) ) of 0.2292 and a Pearson correlation coefficient (r) of 0.7577. These findings highlight the potential for simplifying the model by excluding less relevant parameters, which can reduce computational costs while maintaining reliability. Additionally, the results underscore the importance of high-quality, continuous data and the integration of additional contextual parameters, such as emissions and traffic data, to further enhance model performance. This approach provides valuable insights into optimizing predictive models for air quality forecasting and informs strategies for data collection and model design in regions with limited monitoring infrastructure.