Purpose This paper aims to find the effective 3D printing process parameters based on mechanical characteristics such as tensile strength and hardness of poly lactic acid (PLA)/carbon fibre composites (CF-PLA) by implementing intelligent frameworks. Design/methodology/approach The experiment trials are conducted based on design of experiments (DoE) using Taguchi L9 orthogonal array with three factors (speed, infill % and pattern type) and three levels. The factors have been optimized by solving the regression equation which is obtained from analysis of variance (ANOVA). The contour plots are generated by response surface methodology (RSM). The influencing parameters are found by using Box–Behnken design. The second order response surface model demonstrated the optimal combination of input parameters for higher tensile strength and hardness. Findings The influencing parameters are found by using Box–Behnken design. The second order response surface model demonstrated the optimal combination of input parameters for higher tensile strength and hardness. The results obtained from RSM are also confirmed by implementing the machine learning classifiers, such as logistic regression, ridge classifier, random forest, K nearest neighbour and support vector classifier (SVC). The results show that the SVC can predict the optimized process parameters with an accuracy of 95.65%. Originality/value 3D printing parameters which are considered in this work such as pattern types for PLA/CF-PLA composites based on intelligent frameworks has not been attempted previously.