Skip to content

Instantly share code, notes, and snippets.

@randhindi
Created September 29, 2021 09:05
Show Gist options
  • Select an option

  • Save randhindi/ee1ecbb9e4ee6ed94a987135d9e6d4eb to your computer and use it in GitHub Desktop.

Select an option

Save randhindi/ee1ecbb9e4ee6ed94a987135d9e6d4eb to your computer and use it in GitHub Desktop.
Logreg Simulate
x = np.random.uniform(-1, 1, 5)
print(f"Simulation result: {h.simulate(x)}")
print(f"Plain NumPy result: {func(x)}")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment