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

Some Julia specific coding advice and a fix. #1

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

Some Julia specific coding advice and a fix. #1

wants to merge 1 commit into from

Conversation

Nosferican
Copy link

  • .gitignore: including .DS_Store which is a Mac OS specific binary file which should be ignored.
  • Your Array where eltype <:Union{Float64,Missing} when is better to have them <:Float64 if no missing values.
  • For sum is better to use the broadcasted optional function rather than allocate the vector as before.
  • Fixed predictions.

Copy link
Owner

@hpoit hpoit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Jose! What I really need is to minimize J with LLS and get it down to zero https://github.com/hpoit/ML-Coursera/blob/master/week%202/ang_assignment1ab-v02.jl#L51, so my regression line can be the same as Andrew Ng's, which is just a little bit higher in y-intercept and slope. Still need your help!

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.

2 participants