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

This might not supposed to be public according to Coursera Honor Code #2

Closed
satouriko opened this issue Jul 24, 2017 · 2 comments
Closed

Comments

@satouriko
Copy link

This might not supposed to be public according to Coursera Honor Code.

Just a kind reminder. Feel free to close the issue.:yum:

@GreatBahram
Copy link

You have to change line 47 to this:
X_norm=(mu)./sigma
X_mu does not exist in this code!

@licaoyuan123
Copy link

Given a new x value (living room area and number of bedrooms), we must first normalize x using the mean and standard deviation
that we had previously computed from the training set.

Which means when calculate the price, you need to use price = [1 ( ([1650 3]-mu)./sigma)] * theta; instead of line 107

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

No branches or pull requests

3 participants