← Lesson
Scaling
Joeven
Run
Reset
Python loads on first run
def loss(n_million): return 3.0 * (n_million ** -0.1) print("params M | toy loss | pass tool JSON if loss < 1.7") for n in (1, 10, 100, 1000): L = loss(n) flag = "yes" if L < 1.7 else "no" print(n, round(L, 3), flag) print("smooth loss, sudden-looking skill if your metric is a cliff") print("loss(50M)", round(loss(50), 3), "loss(200M)", round(loss(200), 3))
Run to execute this in your browser. Nothing is sent to a server.