--- # required metadata title: "squared_loss: squared_loss" description: "Squared loss." keywords: "loss, squared" author: WilliamDAssafMSFT ms.author: wiassaf manager: "cgronlun" ms.date: 07/15/2019 ms.topic: "reference" ms.prod: "sql" ms.technology: "machine-learning-services" ms.service: "" ms.assetid: "" # optional metadata ROBOTS: "" audience: "" ms.devlang: "Python" ms.reviewer: "" ms.suite: "" ms.tgt_pltfrm: "" ms.custom: "" 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)