---
title: "#cost-function articles | Hashnode"
description: "Explore 8 articles tagged #cost-function on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/cost-function"
---

Tag

# #cost-function

8 posts · 1 followers

[Tharun](https://hashnode.com/@tharun-pandya) · [Aug 12](https://hashnode.com/posts/the-cost-function-how-wrong-are-we-exactly/6a7c97c7a1dfbf56f3734003)

### [The Cost Function: How Wrong Are We, Exactly?](https://tharunpandya.hashnode.dev/the-cost-function-how-wrong-are-we-exactly?utm_source=hashnode&utm_medium=feed)

Learn how machine learning measures prediction errors using the cost function, with linear regression examples explained from scratch in Python.

8 min read · [tharunpandya.hashnode.dev](https://tharunpandya.hashnode.dev/the-cost-function-how-wrong-are-we-exactly?utm_source=hashnode&utm_medium=feed)

[Kartavay](https://hashnode.com/@Kartavay) · [Feb 8, 2025](https://hashnode.com/posts/linear-regression-and-gradient-descent/67a7a68923fa1e5470130f7e)

### [Linear Regression and Gradient Descent](https://kartavay.hashnode.dev/linear-regression-and-gradient-descent?utm_source=hashnode&utm_medium=feed)

Linear Regression is one of the most common machine learning algorithms. It is especially used in regression problems in machine learning. This article will help you deduce the depths of this algorithm and will make your understanding of it clearer. ...

5 min read · [kartavay.hashnode.dev](https://kartavay.hashnode.dev/linear-regression-and-gradient-descent?utm_source=hashnode&utm_medium=feed)

[Deepak Kumar Mohanty](https://hashnode.com/@KumarDeepak2k4) · [Oct 26, 2024](https://hashnode.com/posts/finding-the-best-fit-line-in-linear-regression-manual-minimization-vs-gradient-descent/671d3f1b6f99e1ebb4fb6ce8)

### [Finding the Best-Fit Line in Linear Regression – Manual Minimization vs. Gradient Descent](https://kumarblog-1.hashnode.dev/finding-the-best-fit-line-in-linear-regression-manual-minimization-vs-gradient-descent?utm_source=hashnode&utm_medium=feed)

Learn how to identify the best-fit line in linear regression by comparing two methods: Manual Minimization of the Cost Function and Gradient Descent Optimiz

4 min read · [kumarblog-1.hashnode.dev](https://kumarblog-1.hashnode.dev/finding-the-best-fit-line-in-linear-regression-manual-minimization-vs-gradient-descent?utm_source=hashnode&utm_medium=feed)

[Deepak Kumar Mohanty](https://hashnode.com/@KumarDeepak2k4) · [Oct 26, 2024](https://hashnode.com/posts/residuals-vs-cost-functions-key-differences-in-machine-learning-evaluation/671cdd4af8f639aa01d65d75)

### [Residuals vs. Cost Functions: Key Differences in Machine Learning Evaluation](https://kumarblog-1.hashnode.dev/residuals-vs-cost-functions-key-differences-in-machine-learning-evaluation?utm_source=hashnode&utm_medium=feed)

Dive into the essential differences between residuals and cost functions in machine learning. Understand how each concept impacts model evaluation and learn

5 min read · [kumarblog-1.hashnode.dev](https://kumarblog-1.hashnode.dev/residuals-vs-cost-functions-key-differences-in-machine-learning-evaluation?utm_source=hashnode&utm_medium=feed)

[Deepak Kumar Mohanty](https://hashnode.com/@KumarDeepak2k4) · [Oct 26, 2024](https://hashnode.com/posts/understanding-error-metrics-in-regression-mse-mae-and-rmse/671cc75c34c747d0b58b57c2)

### [Understanding Error Metrics in Regression: MSE, MAE, and RMSE](https://kumarblog-1.hashnode.dev/understanding-error-metrics-in-regression-mse-mae-and-rmse?utm_source=hashnode&utm_medium=feed)

Dive into the world of regression analysis with our detailed guide on cost functions: Mean Squared Error (MSE), Mean Absolute Error (MAE), and Root Mean Squ

4 min read · [kumarblog-1.hashnode.dev](https://kumarblog-1.hashnode.dev/understanding-error-metrics-in-regression-mse-mae-and-rmse?utm_source=hashnode&utm_medium=feed)

[SUBITSHA M](https://hashnode.com/@subitsha01) · [Oct 23, 2023](https://hashnode.com/posts/cost-function-in-linear-regression/65369286cc1304d79a9f5115)

### [Cost Function in Linear Regression](https://everthingaboutdata.hashnode.dev/cost-function-in-linear-regression?utm_source=hashnode&utm_medium=feed)

In linear regression, the cost function, also known as the loss function or the mean squared error (MSE) function, is used to measure the error or the dissimilarity between the predicted values and the actual target values. The goal of linear regress...

1 min read · [everthingaboutdata.hashnode.dev](https://everthingaboutdata.hashnode.dev/cost-function-in-linear-regression?utm_source=hashnode&utm_medium=feed)

[CodeChef-VIT](https://hashnode.com/@codechefvit) · [Jan 10, 2022](https://hashnode.com/posts/why-bfgs-over-gradient-descent/671b4518e66d2140bfe06680)

### [Why BFGS over Gradient Descent](https://blogs.codechefvit.com/why-bfgs-over-gradient-descent?utm_source=hashnode&utm_medium=feed)

Function optimization done right

4 min read · [blogs.codechefvit.com](https://blogs.codechefvit.com/why-bfgs-over-gradient-descent?utm_source=hashnode&utm_medium=feed)
