~/talk

Estimating the Value of Pi with a Dartboard and (Not so Much) Luck!

Talkat !!Con 2018 · 2018-05-12..05-13· [machine-learning, data-visualization]
slides:none on file

Uniform random throws over a square-inscribed circle yield an unbiased Monte Carlo estimate for pi given by 4·(inside)/n, implemented in two lines of NumPy and empirically producing a Gaussian-like spread (CLT). A large-deviation bound gives sample counts: ~1/epsilon^2 scaling, concretely 2,000 (ε=0.1), 200,000 (ε=0.01), 20,000,000 (ε=0.001). Allowing a larger surrounding square multiplies samples by H^2, and the empirical runs match the predicted error-sample tradeoff.

AI-written summary · about

  1. 0:00Start
  2. 0:15What the game of darts is supposed to look like...
  3. 1:10A comparison of area
  4. 2:03Algorithm v1
  5. 3:20Aside: Monte-Carlo Integration
  6. 4:04How accurate is this algorithm?
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.