GitXplorerGitXplorer
s

biased-galtonbox

public
1 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
ac37b30909cb58fa4e739db4337d1ffaf95893c6

Updated readme to warn the world.

ssirosen committed 12 years ago
Unverified
f2e188b88c64823f218c5b8d30e507a4b8db5177

rename on raw out

ssirosen committed 12 years ago
Unverified
a2a660a76f573989047df3b33ac5d91f9a0c415d

Correctness edit for closest right slice.

ssirosen committed 12 years ago
Unverified
0bd89d6676bf805eb71b49b5990e83ed64795c99

Added some raw output for 27 rows and 26 bins.

ssirosen committed 12 years ago
Unverified
9080bef5aa438818c62aedd5d860380ed4b96485

Slicing cleanup for correctness.

ssirosen committed 12 years ago
Unverified
c9e71dc2b28a50cc83a8242d3196bca85f6d2838

Added remove slice method to triangle module.

ssirosen committed 12 years ago

README

The README file for this repository.

The biased Galton box computer determines where we should break apart a standard binomial distribution to produce an arbitrary distribution of values across a fixed set of bins.

This was written for Scav Hunt 2013. It is some of the worst python I have ever written: NEVER do the sorts of things that I'm doing here. OOP may not be the most exciting paradigm, but it has its place. Sadly, it also extends development time, and Scav pushes you for speed. This is cool stuff, but it was never finished, polished, or reviewed.

The basic idea is to break apart a binomial distribution to approximate a target distribution (in this case, chi^2 with k=3). If you build the Galton Box well, you should see the expected distribution, but you'll also have to figure out what I'm doing here and finish the code. Good luck.