An Embedding Framework for Consistent Polyhedral Surrogates