This study investigates the complex relationships between process parameters and material properties in FDM-based 3D-printed biocomposites using explainable AI techniques. We examine the effects of key parameters, including biochar content (BC), layer thickness (LT), raster angle (RA), infill pattern (IP), and infill density (ID), on the tensile, flexural, and impact strengths of FDM-printed pure PLA and biochar-reinforced PLA composites. Mechanical testing was used to measure the ultimate tensile strength (UTS), flexural strength (FS), and impact strength (IS) of the 3D-printed samples. The extreme gradient boosting (XGB) algorithm was used to build a predictive model based on the data collected from mechanical testing. Shapley Additive Explanations (SHAP), Local Interpretable Model-Agnostic Explanations (LIME), and Partial Dependence Plot (PDP) techniques were implemented to understand the effects of the interactions of key parameters on mechanical properties such as UTS, FS, and IS. Prediction by XGB was accurate for UTS, FS, and IS, with R-squared values of 0.96, 0.95, and 0.85, respectively. The explanation showed that infill density has the most significant influence on UTS and FS, with SHAP values of +2.75 and +5.8, respectively. BC has the most significant influence on IS, with a SHAP value of +2.69. PDP reveals that using 0.3 mm LT and 30° RA enhances mechanical properties. This study contributes to the field of the application of artificial intelligence in additive manufacturing. A novel approach is presented in which machine learning and XAI techniques such as SHAP, LIME, and PDP are combined and used not only for optimization but also to provide valuable insights about the interaction of the process parameters with mechanical properties.
Read full abstract