2023 AIChE Annual Meeting

(414a) Machine Learning for Engineering Course in Matlab and Python

Authors

John Hedengren, Brigham Young University
Andrew Fry, Brigham Young University
Jon Loftin, MathWorks
Jianghao Wang, MathWorks
Krystian Perez, Chemical Industry
Sean Last, Brigham Young University
Nathan Phillips, Brigham Young University
Jacob Burrell, Brigham Young University
Peter Cook, Brigham Young University
Hannah Hanson, Brigham Young University
Sion Jung, Brigham Young University
Spencer Larson, Brigham Young University
Andrew Crop, Brigham Young University
A surge in the chemical engineering industry interest in machine learning has generated a high demand for students who possess expertise in this domain. Many chemical engineering departments are looking for ways to offer elective machine learning courses or integrate machine learning into existing chemical engineering courses. Chemical engineering instructors encounter a challenge in curating readily available curriculum materials that cater to the engineering domain when offering a machine learning course. Other aspects to consider are the familiarity of instructors with programming, student programming knowledge, and choice of software. MATLAB and Python are among the popular tools for machine learning. MATLAB’s app-based workflows, self-paced online training courses, and Live Scripts lower the learning barriers for students and make it easy to introduce machine learning.

In this talk, we cover how the “Machine Learning for Engineers” course was translated from Python into MATLAB through the collaboration of MathWorks and Brigham Young University as part of the capstone project course and showcase translated modules. During this project, students were exposed to both programming languages, received help from domain and AI experts to apply machine learning to chemical engineering applications, and explored the use of ChatGPT for code translations. MATLAB modules developed in this project are freely available at https://github.com/APMonitor/mds on GitHub and File Exchange. These modules can be used as instructor-led course material or self-paced learning resources and they contain case studies related to additive manufacturing, concrete strength, lithium-ion batteries, steel plate defects, polymers, and thermophysical properties which are relevant to chemical engineers. Modules also cover fundamental machine learning concepts. By making these course modules available in MATLAB and Python, we aim to fill the gap in machine learning teaching resources in a platform of the instructor’s choice.