Resistance spot-welded joints are crucial parts in contemporary manufacturing technology due to their ubiquitous use in the automobile industry. The necessity of improving manufacturing efficiency and quality at an affordable cost requires deep knowledge of the resistance spot welding (RSW) process and the development of artificial neural network (ANN)- and machine learning (ML)-based modelling techniques, apt for providing essential tools for design, planning, and incorporation in the welding process. Tensile shear force and nugget diameter are the most crucial outputs for evaluating the quality of a resistance spot-welded specimen. This study uses ML and ANN models to predict shear force and nugget diameter responses to RSW parameters. The RSW analysis was executed on similar and dissimilar AISI 304 and grade 2 titanium alloy joints with equal and unequal thicknesses. The input parameters included welding current, pressure, welding duration, squeezing time, holding time, pulse welding, and sheet thickness. Linear regression, Decision tree, Support vector machine (SVM), Random forest (RF), Gradient-boosting, CatBoost, K-Nearest Neighbour (KNN), Ridge, Lasso, and ElasticNet machine learning algorithms, along with two different structures of Multilayer Perceptron, were utilized for studying the impact of the RSW parameters on the shear force and nugget diameter. Different validation metrics were applied to assess each model’s quality. Two equations were developed to determine the shear force and nugget diameter based on the investigation parameters. The current research also presents a prediction of the Relative Importance (RI) of RSW factors. Shear force and nugget diameter predictions were examined using SHapley (SHAP) Additive Explanations for the first time in the RSW field. Trainbr as the training function and Logsig as the transfer function delivered the best ANN model for predicting shear force in a one-output structure. Trainrp with Tansig made the most accurate predictions for nugget diameter in a one-output structure and for shear force and diameter in a two-output structure. Depending on validation metrics, the Random forest model outperformed the other ML algorithms in predicting shear force or nugget diameter in a one-output model, while the Decision tree model gave the best prediction using a two-output structure. Linear regression made the worst ML predictions for shear force, while ElasticNet made the worst nugget diameter forecasts in a one-output model. However, in two-output models, Lasso made the worst predictions.