Researchers have found that using machine learning at arraignments can cut repeat domestic violence.