Application of Artificial Intelligence to Welding Mechanics