Manufacturing With Machines That Learn From Defects Manufacturing With Machines That Learn From Defects