Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2019
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. cont_true, cont_false = 0, 0
  2. for k in range(1700, 1999):
  3. resultado = classificador.predict([data.iloc[k, :3]])
  4. if resultado == data.iloc[k, 3]:
  5. cont_true += 1
  6. else:
  7. cont_false += 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement