--- title: "hinge_loss: hinge_loss" description: "Hinge loss." author: VanMSFT ms.author: vanto ms.date: 07/15/2019 ms.service: sql ms.subservice: "machine-learning-services" ms.topic: "reference" keywords: - loss - hinge ms.devlang: python monikerRange: ">=sql-server-2017||>=sql-server-linux-ver15" --- # *microsoftml.hinge_loss*: Hinge loss function ## Usage ``` microsoftml.hinge_loss(margin: numbers.Real = 1.0) ``` ## Description Hinge loss. ## Arguments ### margin Margin value (settings). ## See also [`log_loss`](log-loss.md), [`smoothed_hinge_loss`](smoothed-hinge-loss.md), [`squared_loss`](squared-loss.md)