Deep neural network (DNN) models have become highly effective tools for function estimation in regression tasks, with applications in various domains, including human gait stride length estimation. Several studies have developed DNN models that use gait cycle data from wearable devices equipped with inertial measurement units to accurately predict stride lengths within a cycle. However, many of these deep learning approaches do not quantify predictive uncertainty and fail to consider individual gait characteristics. To address these limitations, we introduced an ensemble model based on a heteroscedastic neural network that quantifies the uncertainty in stride length predictions. Additionally, we proposed a novel stride training strategy that uses the average stride instead of individual strides to optimize the training process and improve model efficiency. Our extensive performance evaluations demonstrate the robustness and adaptability of our model, accurately predicting both the uncertainty of individual stride lengths and the specific stride lengths for each gait cycle. Our study represents a significant advancement in stride length estimation, addressing the challenges of uncertainty quantification and capturing the unique aspects of human gait. The proposed model has considerable potential for practical applications in gait analysis and related fields.