Application of machine learning methods to forecast tourist flow in mountainous areas based on seasonal and weather factors
Abstract
Introduction. To improve the forecasting of tourist flow in mountain areas, this study examines the influence of seasonal and weather-related factors on the dynamics of visitor activity. It is shown that tourist demand in mountain territories is characterized by strong seasonal asymmetry, short-term fluctuations, and high sensitivity to meteorological conditions. Traditional statistical approaches can describe general seasonal patterns, but they often fail to capture nonlinear changes caused by temperature, precipitation, snow cover, wind speed, weekends, and holiday periods. Therefore, the study provides a machine learning-based approach for more accurate short-term and medium-term forecasting of tourist flow. Methods. A structured experimental dataset was formed using daily records of tourist flow, calendar variables, seasonal indicators, and meteorological parameters. The data were cleaned, synchronized by time step, and supplemented with lagged variables, moving averages, cyclic seasonal transformations, and weather-derived features. Several forecasting models were developed and compared, including linear regression, seasonal statistical models, random forest, neural network, XGBoost, and CatBoost. Model performance was evaluated using MAE, RMSE, MAPE, and the coefficient of determination R². Results. The results showed that tourist flow in mountain areas varies significantly depending on the season and weather conditions. The highest visitor activity was observed during winter and summer peaks, while spring and autumn were characterized by lower and less stable flow. The CatBoost model demonstrated the best forecasting performance, with MAPE of about 9.8%, RMSE of 291 people per day, and R² of 0.88. The analysis also revealed threshold effects: tourist flow changed most sharply under unfavorable combinations of precipitation, wind speed, air temperature, and snow cover depth. Conclusions. It is proposed that machine learning methods, especially gradient boosting algorithms, can be effectively used to forecast tourist flow in mountain regions. The developed approach makes it possible to account for nonlinear interactions between seasonal, calendar, and meteorological factors and can support the planning of tourist infrastructure, transport, staffing, route management, and safety measures under changing weather conditions.