Skip to content

Instantly share code, notes, and snippets.

@vosbs
Created April 21, 2020 18:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vosbs/da02717b12e7916a64bcd648f6e2fcfb to your computer and use it in GitHub Desktop.
Save vosbs/da02717b12e7916a64bcd648f6e2fcfb to your computer and use it in GitHub Desktop.
m5000_9
dev.loc[:, 'ml_speed'] = dev['ml_speed'] + (limit - 600 * 3 - dev['I_new_predict']) / step
dev.loc[:, 'I_new'] = dev['I'] + (dev['ml_speed'] - dev['speed']) * 2000
print((dev.I_new > limit).sum() / dev.shape[0])
print(dev.ml_speed.mean() / dev.speed.mean())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment