Guest User

Untitled

a guest
Feb 20th, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. theta = c(0,0)
  2. X = pop$V1
  3. y = pop$V2
  4. X = cbind(1,X)
  5. m = length(y)
  6. # call the ComputeCost()
  7. cost <- ComputeCost(X,y,m,theta)
  8. cost
Add Comment
Please, Sign In to add comment