Uncovering social-contextual and individual mental health factors associated with violence via computational inference. Patterns (New York, N.Y.)