A real-time Machine Learning Control (MLC) of articulated robotic manipulators is presented in this work by exploiting the Lion Optimization Algorithm (LOA) which is combined with the Naïve Bayes (LNB). Here, the proposed model is used for the real-time MLC of robotic manipulators by exploiting the "Fractional Order Proportional-Integral-Derivative (FOPID)" control scheme. Using the proposed LNB model MLC control gain parameters are tuned. By considering the dynamics of the actuator, to convene significant timing constraints, a "Real-Time Operating System (RTOS)" on a microprocessor collaborates with the LNB-MLC. At last, the Mechatronic design and investigational setup of a 6-degree of freedom (DOF) expressed robotic manipulator are modeled. The performance analysis is presented to show the advantage of the adopted models. While compared with the existing control models, the adopted optimization model has practice and theoretical consequences regarding online parameter tuning, real-time ability, and convergent behavior. In both industry and academia, the adopted MLC approaches are appropriate to design the real-time modern controllers.