Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. dataset = numpy.loadtxt("C:/Users/jayjay/learning/try.txt", delimiter=",", skiprows=1)
  2. # split into input (X) and output (Y) variables
  3. X=dataset[:100,2:4]
  4. Y=dataset[:100,4]
  5.  
  6. ValueError: could not convert string to float: 'not 1'
  7.  
  8. 135,10,125,10,1
  9. 230,16,214,19,not 1
  10. 226,16,210,19,1
  11. 231,16,215,19,not 1
  12. 205,16,189,17,not 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement