The emergence of 3D and 4D printing has transformed the field of polymer composites, facilitating the fabrication of complex structures. As these manufacturing techniques continue to progress, the integration of machine learning (ML) is widely utilized to enhance aspects of these processes. This includes optimizing material properties, refining process parameters, predicting performance outcomes, and enabling real-time monitoring. This paper aims to provide an overview of the recent applications of ML in the 3D and 4D printing of polymer composites. By highlighting the intersection of these technologies, this paper seeks to identify existing trends and challenges, and outline future directions.