-
ene 30
Parrondo's Paradox
Parrondo's Paradox¶
A fun hands-on example to understand Markov Models.
Introduction¶
Parrondo's paradox is a mind-blowing mental experiment in which the combination of two different losing games can become in a wining one. $$ L_{ose} + L_{ose} = W_{in}?$$
There's a lot of interesting literature around it. You can search for it in the internet, but I'll just explain the most simple example in terms of two games played with biased coins.
-
ene 31
Cache your properties with a decorator
This is a wonderful Python idea I've found quite usefull and fun to implement.
The reason of the need comes from an analytics project I'm working on.
I have to read data from several sources (let's think on a file, a database or a remote query) that changes at predefined periods (let's say each minute).
Page 1 / 1