Skip to content

Commit

Permalink
corrected honor code
Browse files Browse the repository at this point in the history
  • Loading branch information
mstampfer committed Dec 15, 2015
1 parent e9ef8e1 commit d8da9a6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ex5/polyFeatures.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@ def polyFeatures(X, p):
# column of X contains the values of X to the p-th power.
#
#
for i in range(1, p+1):
X_poly[:, i-1] = X**i

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

return X_poly
return X_poly

0 comments on commit d8da9a6

Please sign in to comment.