https://github.com/farhad-here/linear_regression1
LinearRegression Tutorial
https://github.com/farhad-here/linear_regression1
Last synced: 2 months ago
JSON representation
LinearRegression Tutorial
- Host: GitHub
- URL: https://github.com/farhad-here/linear_regression1
- Owner: farhad-here
- License: mpl-2.0
- Created: 2024-10-23T16:56:17.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-10-23T17:05:22.000Z (7 months ago)
- Last Synced: 2025-01-22T18:32:55.124Z (4 months ago)
- Language: Jupyter Notebook
- Size: 32.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🎳 linear Regression Tutorial
# 🍴formula
$$ predict $$
$$ f(w,b) = f(x) = yhat = wx + b $$
$$costfunction$$
$$ J(w,b) = \frac{1}{2m} \sum_{i=1}^{m} \left( f(w,b)(x^{(i)}) - y^{(i)} \right)^2 $$
$$ J(w,b) = \frac{1}{2m} \sum_{i=1}^{m} \left( yhat(x^{(i)}) - y^{(i)} \right)^2 $$# 🧑💻technology
- numpy
- matplotlib
- scipy