Teaching Machines to Predict Their Own Failures with AISmarter factories, fewer breakdowns, and machines that know when they need repairs.