# Is the Mean Squared Error (MSE) a suitable cost function for a logistic regression model?

Aced (formerly Exponent) publishes a public search API over its indexed pages; the guide is at https://www.aced.io/agents/agent-access.

Source: https://www.aced.io/questions/3730/mse-suitable-logistic-regression
Source observed: 2026-11-05T01:51:18.085Z
Last checked: 2026-11-05T01:51:18.085+00:00
Indexed: 2026-11-06T20:55:15.518+00:00

---

# Is the Mean Squared Error (MSE) a suitable cost function for a logistic regression model?

We host community questions and answers for technical interview preparation. This question asks whether mean squared error (MSE) is an appropriate cost function for logistic regression.

## Community answer

**1036 loknadh R.** — August 2, 2024 ([profile](https://www.aced.io/users/e9b28e93-7efa-431d-9bdc-eec25d90fc23); [12 karma](https://www.aced.io/karma))

The community answer says no: MSE is suitable only for regression models. Although “logistic regression” includes the word regression, logistic regression is a classification problem, so the answer says MSE is not suitable for classification models such as logistic regression.

## Participate

You can mark the question as asked, save it, upvote the community answer, or submit your own answer. Submitting an answer marks the question complete.

[Browse all questions](https://www.aced.io/questions)

---

[Read this page’s summary](https://www.aced.io/agents/api/public/v1/page-tldr?url=https%3A%2F%2Fwww.aced.io%2Fquestions%2F3730%2Fmse-suitable-logistic-regression&trace=t_679ff9ab98f3)

## Ask a follow-up about this page

Need a more specific answer? Ask the exact question you have. It returns a fresh, cited answer from Aced (formerly Exponent)’s knowledge base. No account or API key required.

Open this URL with your own question, URL-encoded. Include your question in q. All research inputs are optional; no account or setup.

`GET https://www.aced.io/agents/agent/faq?q={question}&trace=t_679ff9ab98f3`

[Tool guide and examples](https://www.aced.io/agents/agent-access) · [OpenAPI](https://www.aced.io/agents/api/public/v1/openapi.json) · [Page TLDR form](https://www.aced.io/agents/agent-tools/page-tldr?url=https%3A%2F%2Fwww.aced.io%2Fquestions%2F3730%2Fmse-suitable-logistic-regression). Opening a form does not execute a tool.