Machine learning to detect ICD10 codes in causes of death