Generalization Bounds and Consistency for Latent Structural Probit and Ramp Loss