A randomized forecasting method based on the generation of ensembles of entropyoptimal forecasting trajectories is developed. The latter are generated by randomized dynamic regression models containing random parameters, measurement noises, and a random input. The probability density functions of random parameters and measurement noises are estimated using real data within the randomized machine learning procedure. The ensembles of forecasting trajectories are generated by the sampling of the entropy-optimal probability distributions. This procedure is used for the randomized prediction of the daily electrical load of a regional power system. A stochastic oscillatory dynamic regression model is designed. One-, two-, and three-day forecasts of the electrical load are constructed, and their errors are analyzed.