Systematic comparison of traditional and ML-based quality control methods using the example of welding technology