Stanford researchers utilize machine-learning formula determine changes in gender, ethnic prejudice in U.S