The present research proposes a methodology to develop a model to predict Path Loss in a mixed environment comprising urban areas with tree-lined streets. Based on cross-validation and utilizing Artificial Intelligence (AI) and Machine Learning (ML) algorithms that employ various training functions, architectures, and numbers of neurons, the goal is to optimize the model’s performance in predicting Path Loss (PL) in mixed environments. The model is structured in layers, incorporating geolocation, non-line-of-sight loss, urban density, and vegetation coverage to predict PL. Within this model, Bayesian optimization is applied to select the best hyperparameters. Experimental results demonstrate its effectiveness, with a mean Root Mean Square Error (RMSE) per k-folds of 4.91 dB and Standard Deviation (STD) 4.76 dB for more forested areas.