Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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