Discriminative Learning via Semidefinite Probabilistic Models