The purpose of this paper is to study the generalization performance of the Empirical Risk Minimization (ERM) algorithm from \(\psi \) -weakly dependent processes. These processes unify a large class of weak dependence conditions, including strong mixing and association. We first establish the exponential bound on the rate of relative uniform convergence and the consistency of the ERM algorithm. Secondly, we derive generalization bounds and provide the learning rate. Under some Hölder class of hypothesis, we obtain an asymptotic rate close to \(O(n^{-1/2})\) . Finally, we present some application and simulation results with examples of causal models within the context of time series prediction.