Skip to content

Commit 3cedbcb

Browse files
authored
Update Particle-Filtering.md
1 parent 0ad45be commit 3cedbcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

md/Particle-Filtering.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ __function__ PARTICLE-FILTERING(__e__, _N_, _dbn_) __returns__ a set of samples
1111
 __for__ _i_ = 1 to _N_ __do__
1212
&emsp;&emsp;&emsp;_S_\[_i_\] &larr; sample from __P__(__X<sub>1</sub>__ &vert; __X<sub>0</sub>__ = _S_\[_i_\])&emsp;/\* step 1 \*/
1313
&emsp;&emsp;&emsp;_W_\[_i_\] &larr; __P__(__e__ &vert; __X<sub>1</sub>__ = _S_\[_i_\])&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;/\* step 2 \*/
14-
&emsp;_S_ &larr; WEIGHTED\-SAMPLE\-WITH\-REPLACEMENT(_N_, _S_, _W_) /\* step 3 \*/
14+
&emsp;_S_ &larr; WEIGHTED\-SAMPLE\-WITH\-REPLACEMENT(_N_, _S_, _W_)&emsp;&emsp;/\* step 3 \*/
1515
&emsp;__return__ _S_
1616

1717
---

0 commit comments

Comments
 (0)