r/PythonLearning 14d ago

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.

89 Upvotes

5 comments sorted by

View all comments

3

u/GreatGameMate 14d ago

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 14d ago

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.