- Keras Reinforcement Learning Projects
- Giuseppe Ciaburro
- 340字
- 2021-08-13 15:26:05
One-dimensional random walk
In a one-dimensional random walk, we study the motion of a point-like particle that is constrained to move along a straight line in one of only two directions (right and left). For each (random) movement, it can move one step to the right with a fixed probability p or to the left with a q probability. Each step is of equal length, and is independent of the others, as shown in the following diagram:

The position of the point after n steps—identified by its abscissa, X(n)—obviously contains a random term. We want to calculate the probability after n movements that the particle will return to the starting point (it should be noted that nothing assures us with any certainty that the point will actually return to that position). To do this, we will use the X(n) variable, which gives the abscissa of the straight line after the particle has moved n steps to the left. Obviously, this is a discrete random variable with a binomial distribution.
This variable takes the following scheme: at every instant, n takes a step to the right or left according to the result of a random variable, Z(n), which takes on +1 value with probability of p> 0 and a -1 value with a probability of q, with p + q = 1, as shown in the previous diagram. Suppose that the random Zn variable with n = 1, 2,... are independent, and all have the same distribution. Then the position of the particle at the n instant is given by the following equation:
The Xn variable represents a Markov chain because, to determine the probability that the particle is in a certain position in the next moment, we only need to know where it is at the current moment, even if we are aware of where it was in all moments prior to the current one.
- 數據中心建設與管理指南
- Getting Started with Containerization
- 精通數據科學算法
- 計算機網絡原理與技術
- Dreamweaver CS6精彩網頁制作與網站建設
- Word 2007,Excel 2007辦公應用融會貫通
- Bayesian Analysis with Python
- 嵌入式GUI開發設計
- AI的25種可能
- 大數據案例精析
- 基于RPA技術財務機器人的應用與研究
- 常用傳感器技術及應用(第2版)
- JSP通用范例開發金典
- Hands-On Geospatial Analysis with R and QGIS
- Windows Server 2012 Automation with PowerShell Cookbook