Skip to content

Instantly share code, notes, and snippets.

@arjay55
Created August 24, 2019 14:43
Show Gist options
  • Save arjay55/bc50324d3a7f9d3150a719fb639ed789 to your computer and use it in GitHub Desktop.
Save arjay55/bc50324d3a7f9d3150a719fb639ed789 to your computer and use it in GitHub Desktop.
discount_loss
ct = 0
for _ in test_data:
ct += 1
powcoeffs = np.arange(ct)
loss_base = np.full(ct,0.9)
loss_array = np.power(loss_base, powcoeffs)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment