A nice sigmoid-like parametrized curve, ending approximately at *a*.
(x, a)
| 13 | |
| 14 | |
| 15 | def f(x, a): |
| 16 | """A nice sigmoid-like parametrized curve, ending approximately at *a*.""" |
| 17 | return 0.85 * a * (1 / (1 + np.exp(-x)) + 0.2) |
| 18 | |
| 19 | |
| 20 | fig, ax = plt.subplots() |
no outgoing calls
no test coverage detected