Commit Graph
100 Commits
Author SHA1 Message Date
Roger Labbe 54362a59a3 Merge pull request #34 from sieben/patch-1
fix broken link
2015-05-03 10:52:31 -07:00
Roger Labbe c091cb208f Merge pull request #33 from Gluttton/master
One Dimensional Kalman Filters: wrong color of curve in plot description
2015-05-03 08:06:22 -07:00
Roger Labbe a3cd023d3b Code cleanup
Removed commented out code and unneeded imports.
2015-05-01 10:49:12 -07:00
Roger Labbe f4d218e1b4 Fixed PDF output; blank Particle filter chapter.
The PDF was not setting the Preface as a unnumbered chapter.
I think there is more work to get it's subsections unnumbered.

Added empty Particl filter chapter. Had to renumber the chapters
to make it fit in.
2015-05-01 10:42:53 -07:00
Roger Labbe 08123b0d15 Regenerated PDF 2015-05-01 07:05:53 -07:00
Roger Labbe 4fef1138f7 Fixed merge problem.
Somehow there was a missing comma in the JSON, making it unloadable.
2015-05-01 06:58:02 -07:00
Roger Labbe cd8c170b7c Removed redundant material.
there was a long explanation of nonlinear filtering which was moved
to the nonlinear filtering chapter, but not removed from here.
2015-05-01 06:30:02 -07:00
Roger Labbe 95cbe78f46 Reordered material to more reasonable order. 2015-05-01 06:29:05 -07:00
Roger Labbe 148db5f889 Merge branch 'master' of https://github.com/rlabbe/Kalman-and-Bayesian-Filters-in-Python 2015-05-01 06:28:11 -07:00
Roger Labbe 348474a570 Merge pull request #31 from Gluttton/master
The g-h Filter: trivial formating issues
2015-05-01 06:27:47 -07:00
Roger Labbe 1022e69bf5 Merge pull request #30 from Gluttton/master
Discrete Bayes Filter: events in example of conditional probability are put vice-versa
2015-04-29 12:57:53 -07:00
Roger Labbe f1d893770c Merge pull request #27 from mrshu/mrshu/g-h-filter-fix
g-h_filter: Small changes
2015-04-27 09:15:50 -07:00
Roger Labbe 904759f60c Fixed off by one error. 2015-04-26 14:49:39 -07:00
Roger Labbe bb23c9ea6b Merge pull request #28 from Gluttton/master
The g-h Filter: trivial fixes.
2015-04-25 07:56:00 -07:00
Roger Labbe b4acfb0b84 Merge pull request #26 from Gluttton/master
Trivial issue: fixed broken link on the Installation appendix.
2015-04-22 13:23:06 -07:00
Roger Labbe 13e129165e Fixed blank graph. 2015-04-20 21:25:06 -07:00
Roger Labbe ba97e31cf7 title cannot have latex in it
I forgot - either nbconvert, pandoc, or latex is causing a problem
when I put the greek symbols for alpha-beta in a title.
2015-04-20 21:24:08 -07:00
Roger Labbe db892b40e8 Chapter rename and better TOC.
Added Alpha-beta to the g-h filter title to help with SEO (book is
second result for a search on g-h, doesn't seem to come up at all for
a search on alpha-beta).

Since I had to alter the TOC I went ahead and improved the chapter
descriptions.
2015-04-20 20:50:43 -07:00
Roger Labbe 8bae16b811 Changes to condense material.
Lots of small changes to try to get page count down. I'm not liking
this.
2015-04-20 17:14:51 -07:00
Roger Labbe dda63fb329 This extension does not work with IPython 3+. 2015-04-19 09:36:46 -07:00
Roger Labbe 0086fcd201 Changes to bring page count down.
Made plots smaller, moved legends outside of plot (so smallersize
is still readable), moved plotting code into external modules.
2015-04-18 14:52:41 -07:00
Roger Labbe f6855f1bb6 minor text changes. 2015-04-18 08:56:46 -07:00
Roger Labbe 3c99a6f11b Minor textual changes. 2015-04-13 20:04:02 -07:00
Roger Labbe e8daa7902f Merge pull request #24 from amfl/master
Fixed minor typos
2015-04-13 17:31:31 -07:00
Roger Labbe 7f3a50aee4 Made LaTeX font smaller.
It was rather too large, especially when inline with text. I might
have gone just a *tad* too far in the other direction, but it mostly
looks very good now.
2015-04-08 21:08:55 -07:00
Roger Labbe 73f54b1970 Added Bayesian information.
Major revamping - a lot of bayesian math has been added, and the
examples have been tweaked. I corrected a major confusion in the
update function - I was scaling, but said I was multipling by a
probability.

Also modifed the css for mathjax so that the font renders in a more
reasonable form.
2015-04-08 20:17:22 -07:00
Roger Labbe 7a5f84e5f9 Fix for github issue #16
The CSS was causing the text bounding box to slightly overlap the
text. A kind person explained the problem by posting to issue 16.

However, his change didn't work. I removed the width field and for
some reason all the headings centered themselves. I tried changing
their alignment and that didn't work. I comprimised by changing 750
to 540 and that worked.

I also slightly changed the font size. It was almost comically large.
2015-04-06 20:29:55 -07:00
Roger Labbe 9d6089d8b3 Merge pull request #23 from enter-the-bot/first-chapter-typos-fix
fixed some typos
2015-04-06 08:55:49 -07:00
Roger Labbe 421160a6a5 fixed script error 2015-04-05 22:10:01 -07:00
Roger Labbe a9f602f9c6 Removed bash cmd 2015-04-05 22:00:07 -07:00
Roger Labbe bb9b378545 Fixed train example.
May not be perfect, but the checked in version is wrong so I want
to get it out there ASAP.
2015-04-05 21:48:14 -07:00
Roger Labbe 45bc5d9395 Merge branch 'master' of https://github.com/rlabbe/Kalman-and-Bayesian-Filters-in-Python 2015-04-05 12:30:09 -07:00
Roger Labbe 6bca6b56ec Converted update_pdf to windows bat file 2015-04-05 12:29:23 -07:00
Roger Labbe 6b7368f91b Made graphs smaller.
Most of the graphs were really too tall. Well, we can quibble about that
but I made them smaller to reduce the PDF size and thus print size
of the full book.
2015-04-05 12:26:21 -07:00
Roger Labbe f6dfbbbd1e Smallified plots.
Plots were really tall, which made for a lot of scrolling online, and
wasted paper for print.
2015-04-05 11:50:55 -07:00
Roger Labbe d1eb25e5c6 bookmarking code
Current code is bad, and will be revising heavily,
but want to save this in case i need to backtrack.
2015-04-04 17:38:40 -07:00
Roger Labbe a4342dabaf Merge pull request #22 from pquentin/master
Remove duplicated paragraph
2015-04-04 15:57:00 -07:00
Roger Labbe b647e3724b Added ignore of .bak files 2015-04-04 11:28:35 -07:00
Roger Labbe d957cd7af1 Trying to fix line endings. 2015-04-04 11:19:49 -07:00
Roger Labbe 7f2b152c9d Fixed PDF generation in Windows 2015-04-04 10:30:50 -07:00
Roger Labbe c92aaee306 Removed noteboook of entire book.
I had checked it in to share it with people while debugging issues
in IPython notebook. But now it is confusing people who think it is
a separate notebook. This is jsut the notebook that I create to generate
the PDF, and should not be checked in.
2015-04-03 23:39:48 -07:00
Roger Labbe adb3f9a499 PEP-8 compliance 2015-04-03 23:38:49 -07:00
Roger Labbe 9598c90f08 PEP-8 fixes 2015-04-03 19:15:44 -07:00
Roger Labbe 865a5758ff Merge branch 'master' of https://github.com/rlabbe/Kalman-and-Bayesian-Filters-in-Python 2015-04-03 18:54:02 -07:00
Roger Labbe 9950fb9ec8 Experiments on showing how Taylor expansion works.
Probably will be added to the Math chapter once finalized.
2015-04-03 18:51:23 -07:00
Roger Labbe 727ca9bed9 Changes to improve PDF generation of the book 2015-04-03 18:50:39 -07:00
Roger Labbe cccb8de775 Reran cell generation. 2015-04-03 18:50:07 -07:00
Roger Labbe 75cbeeb071 Typo fixes 2015-04-03 18:49:44 -07:00
Roger Labbe 2428fe2dbf Added better description of Kalman filter. 2015-04-03 18:47:43 -07:00
Roger Labbe 4aad0e7c19 Merge pull request #21 from enter-the-bot/installation-manual-typo-fix
fixed a typo in the installation manual
2015-04-02 09:15:56 -07:00
Roger Labbe dd2bf73736 Merge branch 'master' of https://github.com/rlabbe/Kalman-and-Bayesian-Filters-in-Python 2015-03-21 10:20:41 -07:00
Roger Labbe ac25c8ddc4 Update README.md
Added notice at top of file that IPython 3.0 must be installed.
2015-03-20 20:44:09 -06:00
Roger Labbe 1d1866d00d Fixed equation for update covariance.
Equation for P at the end of the chapter was wrong. The
equation in code is correct, I just made a mistake in the LaTex.
2015-03-12 18:35:08 -07:00
Roger Labbe 399c49b43d Fixed CC License
this was the older license, I have allowed commercial and other usage with CC-BY. The readme was updated awhile ago, but I neglected to fix the license.html file.
2015-03-12 13:34:43 -07:00
Roger Labbe 0d8036a109 Various typo and explanation fixes
Too many to mention. Read through several chapters and made changes
as I went. I've had people (correctly) question me on several points,
and pointing out typos.
2015-03-10 17:23:41 -07:00
Roger Labbe dae0f4b50b Merge branch 'master' of https://github.com/rlabbe/Kalman-and-Bayesian-Filters-in-Python 2015-03-09 21:45:32 -07:00
Roger Labbe f3e0d5bc2e Added interactive g-h filter
Used IPython widgets to create an interactive chart of g-h filtering.
2015-03-09 21:44:47 -07:00
Roger Labbe 7581efded6 Added clarifications to chapter.
Somebody posted about a confusion section on Reddit; they were right,
so I added some description to clarify my intent.
2015-03-09 21:42:57 -07:00
Roger Labbe 6e800cff40 Merge pull request #13 from sieben/patch-1
Typo
2015-03-09 06:49:51 -07:00
Roger Labbe 0343c45445 Playing with html generation
I think I prefer just letting nbconvert generating static files,
but if I want to switch to using Bokeh or other javascript based
rendering I'll need the HTML conversion facility.
2015-03-07 22:41:39 -08:00
Roger Labbe c258dd12f6 Fixed top of file
For some reason link to TOC was raw nbconvert.

Deleted the test cell I had in there to load the gist extension.
2015-03-07 22:08:49 -08:00
Roger Labbe d46706c619 More typos.
Do they ever end?
2015-03-07 21:38:11 -08:00
Roger Labbe ecb7145bc9 Typo fixes. 2015-03-07 21:32:47 -08:00
Roger Labbe f3087db9a6 Merge branch 'master' of https://github.com/rlabbe/Kalman-and-Bayesian-Filters-in-Python 2015-03-07 20:33:08 -08:00
Roger Labbe d346db937d latex in header still troublesome.
Thought I had this working, but on my chromebook I still
cannot create the PDF if there is latex in the chapter title.
2015-03-07 20:31:56 -08:00
Roger Labbe 26b23c34c7 Added computation of covariance.
As in the Gaussian chapter, showed how to compute the covariance from
a set of numbers.
2015-03-07 19:52:51 -08:00
Roger Labbe 38322f475d Added equation for standard deviation 2015-03-07 19:52:25 -08:00
Roger Labbe 5f7c7de378 More info on mean, std, and variance.
I had information on these rather buried, and did not have a single example
of how to compute them. Now the first part of the chapter covers this much
more thoroughly.

Also added a section on plotting exponentials. Not sure I want to retain
it; it is a bit 'light'.
2015-03-07 15:27:56 -08:00
Roger Labbe bc30e190fa Merge pull request #12 from yaph/patch-1
Fixed link to filterpy repo
2015-03-07 09:24:55 -08:00
Roger Labbe ed2af0cb50 Minor fixes.
538.json had some settings that were apparently made obsolete.

Somehow a cell in the chapter was set to raw.
2015-03-05 21:50:43 -08:00
Roger Labbe c4851c9b82 Hid function output of interact
If you add a semi-colon to the end of the interact call
it hides the printing of the return function. This happens
because interact is both a function and a generator so it
can be a decorator.
2015-03-05 18:19:45 -08:00
Roger Labbe 92e2ee03f8 Removed "version" information.
The book does not have 'versions', so I removed that from the readme.
Also fixed a few typos, and clarified a few terms.
2015-03-03 19:04:33 -08:00
Roger Labbe 515b03ec63 Fixed formatting for PDF.
I finally learned that the raw cells let you put latex directly
into the output. So now I have the appendix being created without
the [1] %%latex showing up in the output. Also wrote code to parse
the .tex file to make the Preface a chapter without numbering, so it
is now a proper preface, and not "chapter 0".

I have not touched the Windows generation tools, so PDF generation
in Windows is now broken. I don't think I care.
2015-03-03 18:46:19 -08:00
Roger Labbe e1c3e8a8eb Added full ipynb and html for performance check.
The mathjax takes forever to render in the notebook. As in
it's been going for 38 minutes and it is still not done.
2015-03-03 13:18:37 -08:00
Roger Labbe b32deadfa6 Fixed heading numbers.
Some sections jumped from level 2 to level 4, for example.

Also played around with generating book to HTML. I like it, but
it needs some work. The Calico table of content generator cannot
deal with different headers with the same name, for example.

I want to go to HTML so I can use Bokeh to have interactive plots.
But that means no more PDF, because Bokeh will not export to
PDF.
2015-03-03 12:52:44 -08:00
Roger Labbe e50f51987a Removed JS code that was an experiment.
shouldn't have checked that in before.
2015-03-03 10:16:29 -08:00
Roger Labbe 270922c2db Spell checking.
Smell checking.
2015-03-02 20:03:17 -08:00
Roger Labbe 8cd5c8f7d2 Added infinity sign back into chapter title.
IPython 2.4 was barfing on it for some unknown reason. 3.0 to the rescue.
2015-03-02 17:26:37 -08:00
Roger Labbe 9359988b71 Made Appendix show up as Appendix!
Just needed to add literal latex into the file with the %%latex magix.
2015-03-02 17:16:15 -08:00
Roger Labbe 8cc19ba117 Switched to IPython 3.0 format.
Here's hoping everything still works on nbviewer!
2015-03-02 16:48:52 -08:00
Roger Labbe 65cb22d07c Regenerated PDF. 2015-03-01 11:28:59 -08:00
Roger Labbe 08328f0f0b Expanded ILS coverage.
Fixed notation for a priori and a posteriori variables.
Explained how to compute H matrix by linearizing.
2015-03-01 11:16:59 -08:00
Roger Labbe aa7ab29afa Moved ILS to the Kalman Math chapter. 2015-03-01 09:38:24 -08:00
Roger Labbe 7c5bdccaa1 Fixed sections to use header cells.
Use of markdown was causing chapters to be merged together.
I made the change to markdown in some place in preparation for
IPython 3.0, but that turned out to be a bad idea (plus, 3.0
will automatically convert the headers correctly).
2015-02-28 22:49:23 -08:00
Roger Labbe 750a30bdd2 Gave h(x), f(x) unique names.
I was reusing the names for the state and measurement functions,
which made it impossible to run cells out of order, and was no
doubt confusing to the reader.
2015-02-28 09:59:14 -08:00
Roger Labbe 8fc4d99fc3 Added code for ILS.
The description is not complete, but we have an implementation
of the iterated least squares.
2015-02-27 21:21:54 -08:00
Roger Labbe b838bd1a10 Revert "Regenerated PDF"
This reverts commit 88eea22e2b5083eff39320694176123128f8525e.
2015-02-27 18:25:22 -08:00
Roger Labbe 30d5605e96 Regenerated PDF 2015-02-27 18:23:40 -08:00
Roger Labbe 458b12956e Fixed diverging UKF filter.
The UKF for the circle tracking was diverging. Also,
I have partially started the section on the ILS, but
much remains to be done on it.
2015-02-27 16:23:53 -08:00
Roger Labbe 457a938ce4 Merge pull request #11 from ryanvfung/master
Fixed small grammar mistake
2015-02-27 06:54:53 -08:00
Roger Labbe e89b950c2d Added note about iterative LS schemes.
ILS is used for overdetermined systems. I added a note that this is
a typical technique that I will be covering soon.
2015-02-26 18:38:31 -08:00
Roger Labbe 37743bf604 Extensive addtions to UKF chapter.
I think I finally arrived at a good ordering of material.
Started with implementing a linear problem just so we can
see how it differs from the linear KF, then added problems
step by step. Got rid of most of the poor performing filters.
2015-02-22 11:33:51 -08:00
Roger Labbe 5e479234e1 Added function to change plot size. 2015-02-17 16:10:24 -08:00
Roger Labbe 27d8c7a455 Fixed typo in Newtonian equation. 2015-02-17 16:09:54 -08:00
Roger Labbe 39c9a4cf59 regenerated PDF. 2015-02-16 11:06:59 -08:00
Roger Labbe 46085c6eb1 spell check 2015-02-16 10:56:43 -08:00
Roger Labbe 86583251c7 spell check 2015-02-16 10:29:02 -08:00
Roger Labbe ad437f7539 spell check 2015-02-16 10:20:21 -08:00
Roger Labbe 909f4a7989 Spell check 2015-02-16 09:53:22 -08:00
Roger Labbe 1528dc8473 spell check 2015-02-16 08:56:25 -08:00