AI and blockchain technologies: a powerful synergy!
The article describes the unavoidable fusion between AI and blockchain technologies based on the fact that both technologies complement each other.
How to modify a probability distribution with a dictionary for random sampling
It shows how to sample a list of numbers according to a given probability distribution, like numpy.random.choice, but by using Python standard random.random function, to uniformly sample a dictionary specially created for that purpose from the desired distribution.
Then it analyzes the benefits of such method.
Vectorized Convolutions This article shows how to use Numpy powerful vectorization to execute the convolutions of a CNN in parallel, which would otherwise take 5 nested for loops. In particular, it shows the power of broadcast, by broadcasting a 4D matrix into a 2D matrix using meshgrids.