Skip to content

Instantly share code, notes, and snippets.

@DaveBben
Last active July 2, 2017 00:04
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 DaveBben/5a60da34bc44f360f02765b5ac953523 to your computer and use it in GitHub Desktop.
Save DaveBben/5a60da34bc44f360f02765b5ac953523 to your computer and use it in GitHub Desktop.
for (let i = 0; i < 30000; i += 1) {
ops.push({ input: [getRandomArbitrary(0.65, 0.75)], output: [getRandomArbitrary(0.48, 0.59)] })
}
function getRandomArbitrary(min, max) {
return Math.random() * (max - min) + min;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment