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