Advertisement
Guest User

Untitled

a guest
Jun 24th, 2017
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.09 KB | None | 0 0
  1. def MAE(records):
  2. return sum([abs(rui-pui) for u,i,rui,pui in records])\
  3. / float(len(records))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement