Skip to content
This repository has been archived by the owner on Oct 27, 2022. It is now read-only.

With vectorial calculation #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

chiarabroggipav
Copy link

You could also use the following line:

theta = theta - alpha * (1/m) * sum((X_theta-y)._X)'

You could also use the following line:

theta = theta - alpha * (1/m) * sum((X*theta-y).*X)'
@gibarsin
Copy link

README explains by itself:

I took this class 5+ years ago. Please don't open any issues or pull requests. All examples come as is.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants