Identifying bias in human and machine decisions