Keras Reinforcement Learning Projects
by Giuseppe Ciaburro, Sudharsan Ravichandiran, Suriyadeepan Ramamoorthy
Probability calculation
We are interested in calculating the probabilities associated with a stochastic process (Xn). Let's spend a few minutes talking about the basic concepts of probability. If you are already familiar with these concepts, you may want to skip this section; otherwise, it will be in your interest to deepen the basic knowledge needed to understand how probabilities are calculated.
The a priori probability that a given event (E) occurs is the ratio between the number (s) of favorable cases of the event itself and the total number (n) of the possible cases, provided all considered cases are equally probable. This can be summarized in the following formula:
Let's look at a simple example.
What is the probability that a thrown ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access