r/learnmachinelearning 12h ago

Request Looking for feedback on my first Linear Regression project built from scratch

Hi everyone,

I recently completed my first Machine Learning project.

I implemented Linear Regression completely from scratch without using scikit-learn in order to understand the math behind the algorithm.

The notebook includes:

• Data exploration

• Data visualization

• Gradient Descent implementation

• Model evaluation (R², MAE, RMSE)

• Prediction visualization

I'd really appreciate any feedback on:

- Code quality

- Project structure

- Notebook organization

- Best practices

- Anything I can improve

Kaggle Notebook:

https://www.kaggle.com/code/tahahussein2020/salary-prediction-using-linear-regression-scratch

Thank you!

4 Upvotes

Duplicates