Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
totekp
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
totekp
11y ago
probabilistic modeling is gaining popularity here for some reason. Alias algorithm is used here to create a discrete distribution https://github.com/jliszka/probability-monad/blob/master/src...
2.
▲
by
totekp
11y ago
Perhaps this example is what you describe? flatMap (used by the for comprehension) enables monads to combine in powerful ways. The first part shows uncorrelated X,Y such that Y ~ -X, then the second part shows correlated Y = -X such that ev
3.
▲
by
totekp
11y ago
Probability monad is a really novel way to experiment with stochastic processes. I saw one in scala few weeks back. To get insight into 128-bit strings, you can transform/group the sample space such as finding the P(1st bit is 1) or ge