Commit Graph

1234 Commits

Author SHA1 Message Date
Roger Labbe
5512aceaef Altering book format
Changed rest of chapters to use new formatting style. Also,
there is a bug in the current release of Jupyter that overwrites
the rcParams settings when you do the first import, so I had to
split the book format cell into two. This is actually better because
now the PDF, which strips out the formatting cell, will still have
the %matplotlib inline and import from future code.

Also, in the process of refactoring the information about Gaussian
and Bayes. Stuff is still strewn around too much. I need to make
this more streamlined. Chapters 2-4 talk about distributions, Bayes,
and Gaussians, and material is repeated a lot.
2018-08-05 09:20:48 -07:00
Roger Labbe
909f107a93 Formatting changes, and removal of some text
I am switching to the default look of Jupyter as much as possible.
Altering the look is not really supported by Jupyter, so rending
on GitHub (for example) is very different than when running in
your own browser.

I also got rid of the animations that really slow down execution
of the notebook in favor of using a slider to display a step in
a computation - the reader can see the plots 'animated' by moving
the slider. It is much faster to compute, and actually gives them
fine grained control to go forwards/backwards in time.

I am also revising my coverage of statistics, and moving the
details about Bayes and total conditional probability to the
third chapter. I shouldn't be talking about probability distributions
before covering that material.
2018-08-04 10:27:26 -07:00
Roger Labbe
edbc98ccb4
Merge pull request #243 from liorgolgher/patch-1
Update 12-Particle-Filters.ipynb
2018-08-03 08:32:51 -07:00
Roger Labbe
183b5b69ab
Merge pull request #244 from jeremyroy/master
Fixed typo
2018-08-03 08:31:55 -07:00
Jeremy Roy
257ccd627d Fixed typo
"date" should be "data"
2018-07-20 10:49:04 -04:00
Lior Golgher
345a82db3a
Update 12-Particle-Filters.ipynb
fix minor typos, what a terrific book!
2018-07-19 13:27:10 +03:00
Roger Labbe
0e43c1b9ae All line endings to LF from CRLF 2018-07-14 11:45:39 -07:00
Roger Labbe
59b7120c98 Reran to ensure uptodate with current python environment
Python 3.6.5
2018-07-14 10:58:49 -07:00
Roger Labbe
58f0f1cfab Fixed error in .gitattributes 2018-07-14 09:53:51 -07:00
Roger Labbe
2eb5b67ddf Fixed Pandoc warning
I was using --chapter, which is deprecated by PanDoc.
2018-07-14 08:47:32 -07:00
Roger Labbe
8507d8baae Removed Matplotlib deprecation warning
needed to use new kwarg density.
2018-07-14 08:46:40 -07:00
Roger Labbe
c15a693aa6 GitHub #240
Added missing word 'we'
2018-07-14 08:41:07 -07:00
Roger Labbe
d1425bd565 Merge branch 'master' of https://github.com/rlabbe/Kalman-and-Bayesian-Filters-in-Python 2018-07-14 08:02:48 -07:00
Roger Labbe
68714a8eb8 Added gitattributes file
This normalizes all line endings to LF, not CRLF.
2018-07-14 08:01:19 -07:00
Roger Labbe
ad231bef86 GitHub #241 - remove deprecation warning
Newest version of Matplotlib has deprecated using strings
as booleans.
2018-07-14 07:54:29 -07:00
Roger Labbe
a28a75e1eb
Merge pull request #242 from gwshaw/master
Minor fixes
2018-07-14 07:31:10 -07:00
George Shaw
609b8be237 Minor fixes 2018-07-10 15:58:15 -07:00
Roger Labbe
47cbc4bf43 Fixed link to table of contents. #238
Table of contents pointed to nbviewer, not the local copy of the
table of contents. Made link relative so it works regardless of
where you are working from.
2018-07-04 17:17:53 -07:00
Roger Labbe
2480f297e5 Test fix for link to nbviewer. #238
Trying to make a relative link to the table of contents so browsing
works both locally and remotely.
2018-07-04 17:05:31 -07:00
Roger Labbe
b87aa1ef45 Explained IMM requires all x to have same shape.
IMM will not work if the x attribute in the filters have
different shapes.
2018-06-24 10:10:30 -07:00
Roger Labbe
be4c505251 Merge branch 'master' of https://github.com/rlabbe/Kalman-and-Bayesian-Filters-in-Python 2018-06-12 16:26:09 -07:00
Roger Labbe
c74ec6596b moved test functions to correct file.
I had two test functions of the robot particle filter, but
oddly placed in the wrong file.
2018-06-12 16:24:46 -07:00
Roger Labbe
0e108ab369
Merge pull request #230 from sleepingAgain/patch-1
Fixed typo
2018-06-11 08:38:27 -07:00
sleepingAgain
b273c7e98c
Fixed typo 2018-05-21 17:40:20 +01:00
Roger Labbe
b00adb2786 Spelling error
Fixed misspelling of NEES, and removed \mathbf for epison, as it
doesn't render properly in the PDF.
2018-05-11 10:33:25 -07:00
Roger Labbe
6eefb93968 Fixed chapter numbering
Edit to book.tplx caused all chapters to be 0.x
2018-05-08 18:21:31 -07:00
Roger Labbe
0c76f189b1 Fixed latex layout error 2018-05-08 17:47:04 -07:00
Roger Labbe
a63e03e301 Added in/out back to cell output
It was too hard to tell what was embedded sample code and what
was true cell input/output.
2018-05-08 17:36:56 -07:00
Roger Labbe
c3022b7654 Added table of contents
Added table of contents to book. Now annoyingly lists a "contents"
section of two blank pages, but baby steps.
2018-05-08 17:14:37 -07:00
Roger Labbe
b5146e3a18 Modifed 1st example to use equations
Previous version used dot(F, x) to compute the prior, which
doesn't look much different from the linear KF.
`
2018-05-08 15:18:40 -07:00
Roger Labbe
be136c1425 Added derivation of Joseph equation and optimal K 2018-05-06 08:36:39 -07:00
Roger Labbe
e9fe8621a0 Updated for FilterPy 1.4.0 2018-05-05 19:09:21 -07:00
Roger Labbe
4787cf68e9 Merge branch 'master' of https://github.com/rlabbe/Kalman-and-Bayesian-Filters-in-Python 2018-05-05 09:17:31 -07:00
Roger Labbe
335e6fe7fc
Merge pull request #228 from tommz9/master
Fix another typo in Chapter 8
2018-05-05 09:17:12 -07:00
Roger Labbe
7feaab9ce2 Merge branch 'master' of https://github.com/rlabbe/Kalman-and-Bayesian-Filters-in-Python 2018-05-05 09:16:04 -07:00
Roger Labbe
d605763855 Added my own FloatSlider, IntSlider
They create a slider with continuous_update=False. Just keeping
code more readable by avoiding long lines.
2018-05-05 09:14:22 -07:00
Tomas Barton
f691512316 Fix another typo in Chapter 8 2018-05-04 10:24:33 -06:00
Roger Labbe
20cc070525
Merge pull request #227 from tommz9/master
Fix a typo in Chapter 8
2018-05-04 09:03:55 -07:00
Tomas Barton
7007bd2da1 Fix a typo in Chapter 8 2018-05-04 09:42:26 -06:00
Roger Labbe
9ae79fa625
Added instructions for cloning the book 2018-04-29 08:08:40 -07:00
Roger Labbe
7963e3f15f minor wording changes. 2018-04-28 14:22:29 -07:00
Roger Labbe
49673c6bc2 Merge branch 'master' of https://github.com/rlabbe/Kalman-and-Bayesian-Filters-in-Python 2018-04-28 11:07:51 -07:00
Roger Labbe
3ede7ff965 Added use of the scipy describe function
Showed how to use describe() get the summary statistics for
a sampled distribution.
2018-04-28 11:07:04 -07:00
Roger Labbe
de5f6eda77
Merge pull request #222 from tthomto/master
correcting the math in covariance example - missing fraction.
2018-04-26 07:57:43 -07:00
tthomto
b99c4205fa
correcting the math in covariance example 2018-04-26 16:54:21 +02:00
Roger Labbe
47062b018d Fixed bad description of fat tails. GitHub #217
Updated my description of the fat tails to be more general, especially
since my tails were truncated not fat!

Also added a list of Wikipedia links at the end for reference of
those reading the PDF.
2018-04-25 17:05:53 -07:00
Roger Labbe
237ad1f9cb Updated train example, GitHub #214
Updated the train example to perform the prediction
before the update, and changed some language.
2018-04-25 17:04:33 -07:00
Roger Labbe
5a0cd1b098 Merge branch 'master' of https://github.com/rlabbe/Kalman-and-Bayesian-Filters-in-Python 2018-04-25 15:29:43 -07:00
Roger Labbe
ec0cc50ee9 Invalid matrix indexes, GitHub #211
I used the wrong order for the matrix indexes, fortunately in
the text, not the code!
2018-04-25 14:50:54 -07:00
Roger Labbe
4758f013e1
Merge pull request #216 from kmalhan/fix_process_model
Fixed Unit of process_model for First Kalman Filter in Chapter 4
2018-04-25 14:30:43 -07:00