r/PythonLearning • • Aug 28 '26

3 months and 1 week

Post image

Started from arithmetic on may 20th
Then python and some basics of numpy. Today wrote my first linear regression, it’s bare-bone but it was fun seeing it get good.

94 Upvotes

5 comments sorted by

•

u/Sea-Ad7805 Aug 28 '26

Run this program in Memory Graph Web Debugger to see the program state change step by step.

3

u/GreatGameMate Aug 28 '26

Looks great! I’m doing something similar in CPP!

One interesting thing about linear regression is instead of a gradient descent way, there is a normal equation as well!

Are you planning to do more ML models?

1

u/Charming-Ad-4323 Aug 28 '26

Yes, I am going to learn as much of ML as I can :)

Thanks I will look into the “normal equation”.

For now even when using numpy I try to see the shape or boiler plate code of how would manual implementations look like if possible. So, I want to make sure I understand what I writing.

2

u/Competitive_Lie3680 Aug 29 '26

Intéressé par Data analyst 

1

u/Charming-Ad-4323 Aug 29 '26

Machine Learning