Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimized the cost function and adjusted alpha for Multi variable example #4

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

Conversation

arpitparmar5739
Copy link

  1. Optimized the code in the cost function of the multi variable cost function file for better performance.
  2. Changed the value of alpha in the Multi variable ex1_multi.m file for better results.

Also earlier number of iterations required were greater than 400 but the value of num_iters was 400.
Now, the number of iterations can also be changed to a lesser value (smaller than 400).

…e to 0.3 in multivariable example for better result
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant