Machine Learning with System Dynamics and Optimization - 1