Machine learning could help predict defects, fraud and cancer