Commit Graph

1440 Commits

Author SHA1 Message Date
Forrest Edwards
c2fd241835
Correct sign in product of Gaussian derivation
"&\\propto \\exp \\Big[-\\frac{1}{2\\sigma_z^2\\bar\\sigma^2}[\\bar\\sigma^2(z-x)^2-\\sigma_z^2(x-\\bar\\mu)^2]\\Big]\n",
changed to
"&\\propto \\exp \\Big[-\\frac{1}{2\\sigma_z^2\\bar\\sigma^2}[\\bar\\sigma^2(z-x)^2+\\sigma_z^2(x-\\bar\\mu)^2]\\Big]\n",
2019-09-14 18:34:42 -05:00
Alexander Krotov
c68d38d872
Suggest to change numbers 160, 170 and 8
instead of 160, 170 and 10000.

Number 10000 is introduced later.
2019-09-13 02:15:26 +03:00
jed
8f98ba2746 Added additional requirements. 2019-09-11 23:55:45 -04:00
Reuven Y
155290182b
Update 03-Gaussians.ipynb
Typo - missing "that"
2019-04-27 22:07:58 +03:00
Reuven Y
38e7a285e2
Correct reference number to Huber book 2019-04-27 22:06:23 +03:00
and0rsk
bb3348e62c changed value 1000 to be 10 consistent with the literatature and the other array initializations 2019-04-17 15:09:57 -07:00
Andreas Skielboe
930485fbb2 add pip requirement to conda env and update readme 2019-04-17 10:11:20 +02:00
ehs
295df79138 Changing plot_g_h_results import line
In the Exercise: Write Generic Algorithm section the user gets an
error trying to run the cell after uncomment the call to the function
because the plot_g_h_results function is imported on the next cell
This fix makes the import in the previous cell, resolving the issue
2019-03-30 06:09:23 -03:00
Sam
053b2235fc
Typo fix 2019-03-13 17:26:11 -07:00
Kloppenburg Ernst (CR/PJ-AI-R4)
3e57e82240 typo, wording 2019-02-25 13:31:47 +01:00
Kloppenburg Ernst (CR/PJ-AI-R4)
eac2760566 add plural s 2019-02-19 17:08:33 +01:00
Willie Maddox
97a5e489a3
Update 03-Gaussians.ipynb
Fix minor typos.
2019-01-02 13:40:05 -06:00
Roger Labbe
e84f801836
Merge pull request #269 from rummanwaqar/master
Bug fix: Issues in Chap 3 and 4
2018-12-20 08:01:35 -08:00
rummanwaqar
423c82e3fc Bug fix: Incorrect equation for product of Gaussian
Closes #234
2018-12-18 00:10:54 -07:00
rummanwaqar
3ce1de7213 Bug fix: definition of expected value
Closes #268
2018-12-16 15:20:24 -07:00
Roger Labbe
9e4ac42f79
Merge pull request #267 from rummanwaqar/master
Bug fix: moved __future__ import to the top
2018-12-13 12:02:12 -08:00
rummanwaqar
6d01426413 Bug fix: moved __future__ import to the top
Closes #264
2018-12-13 12:23:59 -07:00
Roger Labbe
17f38c69f2 Fixed for new code organization and book format
These haven't been run in awhile; I updated them so they
have the same look and feel as the book, and fixed a few
imports and pep 8 compliance as well.
2018-11-02 16:11:20 -07:00
Roger Labbe
81eff753b5 point to localhost
The links in the toc were pointing to nbviewer. Github #239
2018-11-02 16:04:17 -07:00
Roger Labbe
d78aaa25e4 Fixed particle animation
I don't know why it wasn't displaying, but I reran the notebook
and it seems to render in the book now.
2018-11-02 15:58:38 -07:00
Roger Labbe
9f89adc11f Merge branch 'master' of https://github.com/rlabbe/Kalman-and-Bayesian-Filters-in-Python 2018-11-02 15:50:29 -07:00
Roger Labbe
eb5f7e1b17 Remove weight reset in update()
As noted in Github #245, this should only happen after resampling, and
the resample functions already perform this computation.
2018-11-02 15:50:10 -07:00
Roger Labbe
2225b249cd Remove weight reset in update()
As noted in #245, this should only happen after resampling, and
the resample functions already perform this computation.
2018-11-02 15:48:49 -07:00
Roger Labbe
b59c2c3698 Remove default argument from discrete_bayes_sim
This was a source of bugs. Github #259.
2018-11-02 14:59:22 -07:00
Roger Labbe
00126c37f3 Cleaned up gaussian named tuple
For some reason the code defined it in two places. I also added an
example for accessing individual fields.
2018-11-02 14:55:40 -07:00
Roger Labbe
7e4925badd Error in code in text.
Github #254. process_model  assignment erroneously multiplies
velocity by dt. This is only in the text so there is no error
in the code.
2018-11-02 14:50:16 -07:00
Roger Labbe
20b2e38a22 Added line for actual weight trend line
This is in response to pull request #257. That hard coded the
line, which meant it had no label in the legend. This adds the
trend line with a label.
2018-11-02 14:42:38 -07:00
Roger Labbe
034f2b809a
Merge pull request #256 from belm0/g_h_filter_example
improve naming in ch 1 "predict_using_gain_guess" example

I (Roger Labbe) need to make further modifications to the function as explained above.
2018-11-02 14:17:09 -07:00
Roger Labbe
5cb33dce02
Merge pull request #255 from LinkHS/fix_bug
fix a bug of forget passing in 'hallway' when invoke 'discrete_bayes_…
2018-11-02 14:03:53 -07:00
Roger Labbe
c5804e3a28
Merge pull request #252 from PedroHRPBS/master
fix: Fix typo
2018-11-02 14:02:12 -07:00
Roger Labbe
216efe2ba4
Merge pull request #251 from off99555/master
Change 10.90 to 11.35
2018-11-02 14:01:17 -07:00
Roger Labbe
58721a7373 Merge branch 'master' of https://github.com/rlabbe/Kalman-and-Bayesian-Filters-in-Python 2018-11-02 10:02:15 -07:00
Roger Labbe
80b8049e51 Normalize binary line ending
Github #253. Binary files were corrupted by eol changes because
they were not denoted as binary in .gitattributes
2018-11-02 10:01:11 -07:00
Roger Labbe
0d1badfee8 Normalize binary line ending 2018-11-02 09:59:58 -07:00
Roger Labbe
06246e9502 Normalize binary line ending 2018-11-02 09:59:21 -07:00
Roger Labbe
c68b74b2c5 added binary attirbutes for binary files 2018-11-02 09:53:02 -07:00
John Belmonte
29063bc4f8 improve naming in ch 1 "predict_using_gain_guess" example
"weight" --> "estimate"
  "initial_guess" --> "initial_estimate"
  print_results: rename label "previous" --> "previous estimate", add comma
2018-10-20 20:08:09 +09:00
Austin.Dawei
fece1f0d68 fix a bug of forget passing in 'hallway' when invoke 'discrete_bayes_sim' which
generates a different likelihood value compared with previous cell
2018-10-12 23:55:07 +08:00
Roger Labbe
e2339a6ccb Updated files to ignore 2018-10-07 14:47:15 -07:00
PedroHRPBS
f77eea1252 fix: Fix wikipedia link
Change wikipedia's link to the correct Plant (Control Theory)
definition.
2018-09-22 23:38:42 -03:00
PedroHRPBS
b9e8d5ae0b fix: Fix typo
Change '-1' to '1' as it's refering to the initial guess
2018-09-22 23:35:54 -03:00
PedroHRPBS
eaa4c641f3 fix: Fix typo
'abddition' to 'addition'
2018-09-22 17:18:14 -03:00
Chanchana Sornsoontorn
55bddfeb01 Change 10.90 to 11.35 2018-09-22 01:49:04 +07:00
Roger Labbe
a2b0291d07 GitHub #250 Wrong EV for dice
3.5, not 3.
2018-09-19 07:27:36 -07:00
Roger Labbe
bf7ad5d5f7 Github #235 2 used instead of z in a subscript 2018-09-16 10:15:42 -07:00
Roger Labbe
4e11dfcc81 Merge branch 'master' of https://github.com/rlabbe/Kalman-and-Bayesian-Filters-in-Python 2018-09-16 10:10:03 -07:00
Roger Labbe
fb110beeb0 Github #246 Pi computed incorrectly
I incorrectly used area * pts/N to comput pi,which happens to
work if radius = 1, but fails otherwise.
2018-09-16 10:08:46 -07:00
Roger Labbe
fd03b1ddd7
Merge pull request #248 from off99555/master
Several errors:

1. Update called with a move control input, which makes no sense.
2. velocity needed to be multiplied by dt, I was just lucky that dt = 1
3. Typo in code calling nonexistent function likelihood()
4. Fixed length of error bars to match subsequent text and code.
2018-09-16 09:49:26 -07:00
Roger Labbe
5410867608
Merge pull request #247 from potpath/fix-07-Kalman-Filter-Math
Fix a few typos
2018-09-16 09:31:44 -07:00
Chanchana Sornsoontorn
353c5c1d46 Change error value to be consistent with its description 2018-09-13 03:03:52 +07:00