Uncovering social-contextual and individual mental health factors associated with violence via computational inference