Skip to content

Commit

Permalink
Fixed ordering of features
Browse files Browse the repository at this point in the history
  • Loading branch information
jtlowery committed Mar 12, 2017
1 parent c3c792d commit 3bb3024
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ex1/ex1_multi.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
print(theta)

# Estimate the price of a 1650 sq-ft, 3 br house
price = np.array([1, 3, 1650]).dot(theta)
price = np.array([1, 1650, 3]).dot(theta)

print('Predicted price of a 1650 sq-ft, 3 br house')
print('(using gradient descent): ')
Expand Down Expand Up @@ -119,7 +119,7 @@
print(' %s \n' % theta)

# Estimate the price of a 1650 sq-ft, 3 br house
price = np.array([1, 3, 1650]).dot(theta)
price = np.array([1, 1650, 3]).dot(theta)

# ============================================================

Expand Down

0 comments on commit 3bb3024

Please sign in to comment.