Additive Friction Stir Deposition (AFSD) is a solid-state manufacturing technique that avoids melting-related defects. Incorporating nanodiamond (ND) and titanium nitride (TiN) nanoparticles into AA5083 deposits offers in situ composite strengthening, but the extremely small experimental datasets demand rigorous, leakage-resistant validation strategies. This study investigates a nested group-wise cross-validation pipeline for Vickers microhardness (HV) prediction from spindle speed (RPM), vertical feed rate (Vz), and nanoparticle addition (binary), establishing a reproducible template for small-data machine learning in solid-state additive manufacturing. The dataset comprises 13 unique AFSD conditions yielding 78 indentations. Gradient Boosting (GB) hyperparameters are tuned exclusively inside the inner loop of nested Leave-One-Group-Out cross-validation; outer LOGO provides the leakage-resistant performance estimate. Preprocessing is embedded in scikit-learn Pipelines and fitted solely on training folds. Exact interventional SHAP values are computed on raw features, with explicit acknowledgment of the confounded experimental design. The nested CV GB model achieved R2 = 0.770 (95% CI: 0.487–0.859) and RMSE = 3.57 HV. Linear Regression performed comparably (R2 = 0.802), but the limited sample size precludes detection of nonlinearity. SHAP attributed the largest contribution to powder addition (3.56 HV), followed by Vz (3.14 HV) and RPM (1.49 HV); these values cannot be interpreted causally. Nested evaluation of raw features alone gave R2 = 0.893, indicating that engineered features increased variance without detectable gain at this sample size. The pipeline provides a rigorous standard for future ML studies. A linear model on engineered features is recommended as a transparent baseline for process planning after external validation.
Purpose: This study aims to print additive products using a modified friction stir deposition – additive manufacturing (MFSD-AM) technique. Design/methodology/approach: MFSD-AM uses a consumable rod instead of the conventional non-consumable hollow tool. Nano-sized boron carbide and cerium oxide reinforcements were mixed with a 50/50 volume ratio and were inserted into the Al–Mg rods to fabricate hybrid aluminum matrix composites (AMCs). One reference product was also printed to survey the outcomes of inserting reinforcements. The effects of MFSD-AM parameters on microstructure, hardness, corrosion and wear were examined in this survey. Findings: Energy dispersive X-ray spectroscopy indicated that no agglomerates were established inside AMCs. Optical microscopy revealed that up to 91.8% grain refinement was observed for AMCs compared to the rod. Pin-on-disc test demonstrated up to a 25% drop in specific wear rate compared to the rod. Scanning electron microscopy of worn-out surfaces exhibited severe adhesive wear for the rod and abrasive wear with delamination sites for AMCs. AMCs displayed up to 30.4% growth in hardness compared to the rod. Tafel curves revealed that the corrosion resistance of AMCs increased compared to the rod. AMCs also displayed up to 423 mV passivation range. Originality/value: MFSD-AM represents a key breakthrough in additive manufacturing, offering new possibilities for the fabrication of hybrid composites.