Hacker News new | ask | show | jobs
by anjc 2250 days ago
Can someone briefly eli5 how the Monte Carlo simulations feed into learning the optimal surface?
2 comments

You pick a random position and a random shot (angle, speed), see where it hits the backboard, and then change the angle of the backboard there to direct the ball through the rim after the bounce. Do this enough times, and you have a surface. (I don't know how the number work out, so there are probably points that have multiple values and surfaces with discontinuities. I guess you average the values at a given point and then smooth the surface, and call that "as good as possible".)
I guess you average the values at a given point and then smooth the surface, and call that "as good as possible".)

In the video he mentioned doing a least squares fit to get the final surface, so that sounds about right.

Thanks!
Simulate random throw angle/power and random angle at point of impact; remember which angles lead to basket.
Thanks