Commit Graph
1173 Commits
Author SHA1 Message Date
Roger Labbe 741d785e03 Explained biased vs unbiased estimators.
I had glossed over this difference, and so it would be confusing
to understand why my equations for VAR and COV are incorrect for
samples. I distinguished between the two and gave the correct
computations for each.
2016-02-18 08:35:12 -08:00
Roger Labbe b15968e5b1 Touched upon conditioning of variables.
Pointed out that height of students probably has two means if the
population includes males and females. Did not go into Gaussian
mixtures or conditioning of the data.
2016-02-06 15:03:53 -08:00
Roger Labbe 5587dd0fda Completed IMM description
The text for the IMM filter was incomplete, and wrong in a few
places.
2016-02-06 15:03:19 -08:00
Roger Labbe f6c83812a1 Github Issue #80 Invalid use of kappa
I used kappa in a couple of places for the square root, when I should
have been using lambda.
2016-02-05 07:51:43 -08:00
Roger Labbe f64aec3693 Copy editing.
`
2016-01-31 20:13:06 -08:00
Roger Labbe 1610678354 Worked on the IMM section.
It is more complete, but not finished.
2016-01-31 20:12:29 -08:00
Roger Labbe 57dda86f18 Copy editing. 2016-01-30 08:29:22 -08:00
Roger Labbe ac2c27119b Adde binder badge at top of readme
So user can know about the online version without having to wade
through a lot of introductory text.
2016-01-30 07:58:04 -08:00
Roger Labbe 230539a3fd Fixed underlining of \emph in PDF.
Thought I had this fixed, not sure why it came back. Had to add
\normalem to template file to force \emph to be italics, which is
the default. Not sure why it has been doing underlining recently.
2016-01-28 17:48:42 -08:00
Roger Labbe 15ad94a5b3 Merge branch 'master' of https://github.com/rlabbe/Kalman-and-Bayesian-Filters-in-Python 2016-01-27 21:21:54 -08:00
Roger Labbe e5fa61bbc5 Added links to source material.
Linked (mostly to Wikipedia) to web material for terms that are
newly defined.
2016-01-27 21:19:16 -08:00
Roger Labbe 9ae110077d Merge pull request #77 from Gluttton/master
Trying to fix broken layout.
2016-01-26 12:08:07 -08:00
Gluttton 0bece0a770 Trying to fix broken layout. 2016-01-26 21:46:44 +02:00
Roger Labbe aae7bbb368 Copy edits. 2016-01-24 18:52:31 -08:00
Roger Labbe 53b058bbda Copy edit of math chapter.
I moved the conversion of the multivariate equations to univariate
equations to the supporting textbook. It's not terribly necessary,
especially since I converted the univariate equations to look like
the multivariate ones.
2016-01-24 15:34:57 -08:00
Roger Labbe 71da22ad8c Fixed eqn alignment issues. overline to bar.
Some equations used \\ without a gathered or aligned block.
They render fine in the notebook, not not in the PDF.

Also, switched back my ill chosen use of \overline for \bar.
2016-01-24 14:08:07 -08:00
Roger Labbe d5ea503fde More copy edits, updated for filterpy 0.1.2 2016-01-24 12:11:39 -08:00
Roger Labbe 49f604be52 Switched to stix fonts for PDF. 2016-01-23 08:37:59 -08:00
Roger Labbe 6ade9592ec Whitespace change to test git push
I got an error on my last push after some nasty Dropbox
befouling of my files. This is just to give me something to push
that isn't important.
2016-01-23 07:25:10 -08:00
Roger Labbe c268a09f5f Rewrites for orthogonal version of eqns
The changes in the univariate chapter, where I derived the
eqn for K continue to ripple through the chapters.
2016-01-23 07:18:43 -08:00
Roger Labbe d6becd7428 Ran notebooks to reflect css changes. 2016-01-18 18:41:39 -08:00
Roger Labbe 856775e906 Major rewrites due to discrete bayes changes.
I've derived the x + Ky form for the univariate kalman filter.
I completely reordered material, cutting about 10 pages (pdf)
of material. I made the connection between the bayesian form
and orthogonal form more explicit.

Probably there are a lot of grammatical errors, but I wanted to get
these checked in.

I also altered the css - mainly the font.
2016-01-18 18:16:20 -08:00
Roger Labbe 5240944dd4 Ran all notebooks to use new css settings. 2016-01-17 20:44:23 -08:00
Roger Labbe 0a41e78aeb Added likelihood and orthogonal projections
Added the likelihood equations/form from the discrete bayes
chapter to better tie in that form of reasoning. then I converted
the 1d equations to the orthogonal projection form to show how
the Kalman gain is computed and where the residual comes from
computationally. This should make the full KF equations much more
approachable.
2016-01-17 20:16:27 -08:00
Roger Labbe 005fe0618c Edits for conciseness. 2016-01-17 12:36:02 -08:00
Roger Labbe daf7ae26e6 Reexecuted to incorporate css changes. 2016-01-17 12:06:31 -08:00
Roger Labbe d0b4a1f4bc Generalized discrete Bayes with likelihood.
All my code in this chapter hard coded the computation of the
likelihood inside the update() function, where it had no business.
Also, my treatment of the likelihood was rather hand wavey. By
pulling it out of update() and maing it explicit I have created
a firm foundation for the rest of the book.
2016-01-17 12:02:00 -08:00
Roger Labbe eca26a2422 Deleted empty code cell 2016-01-17 08:18:35 -08:00
Roger Labbe 752bf9687e Updated Table of Contents
Removed the Appendixes that I deleted, and added all of the supporting
notebook.
2016-01-17 08:16:36 -08:00
Roger Labbe 23877ea4f3 Updated to require FilterPy 0.1.1
This version of filterpy supplies functions for discrete bayes
filters.
2016-01-17 06:21:30 -08:00
Roger Labbe 02d49f16e5 Added description of how to use Jupyter Notebook 2016-01-13 18:46:44 -08:00
Roger Labbe 7263c3f89b Updated to new Jupyter Notebook version 2016-01-13 17:56:41 -08:00
Roger Labbe 6933c33dbc Copy editing. 2016-01-13 17:33:14 -08:00
Roger Labbe 5921b20f87 Word smithing.
Just trimming the flab.
2016-01-12 20:57:13 -08:00
Roger Labbe ffaee9b080 Removing flab from language. 2016-01-10 20:46:43 -08:00
Roger Labbe fb7db6d752 More removal of flabby language. 2016-01-10 10:14:29 -08:00
Roger Labbe 974543a603 Fixed code bug due to renaming function.
I renamed the function f, but did not propogate that change
to every cell.
2016-01-10 09:12:03 -08:00
Roger Labbe d9ba9fde22 Scatter plot of bearing shows 2 results.
The text in the book gave one example, and then hand waved an
explanation about a different bearing choice. It is clearer to
just show it in a graph.
2016-01-10 09:00:00 -08:00
Roger Labbe 58d91c2de3 Copy and general edits.
Trimming the flab out of the language. Added a few examples and
such to clarify concepts.
2016-01-10 08:58:37 -08:00
Roger Labbe 8e2bb6856d Fixed error in latex
It rendered fine in the notebook, but \text{foo_bar} was causing
an error in the pdf generation. Switching to \mathtt{foo\_bar}
mostly fixes it (though in the notebook it renders as -, not _.
Oye.
2016-01-09 09:10:56 -08:00
Roger Labbe 800ea6c189 Cleaned up equations for UKF.
I was using a bunch of variable names that weren't consistent
with the rest of the book (but perhaps are more consistent with
the literature). It just made everything more challenging than
it needed to be, so instead of \mu and \sigma (e.g.) I use
\bar x and \bar P.

I also am in the middle of rewriting some sections for clarity,
but that work is not completed.
2016-01-09 08:52:03 -08:00
Roger Labbe b6d5052f45 Copy edits. 2016-01-09 08:51:24 -08:00
Roger Labbe eeab89c16c Copy edits. 2016-01-09 08:51:03 -08:00
Roger Labbe 6b9b97927d Redid Discrete Bayes animations.
I added titles so you can see where in the processing the
graph is.

This surfaced a bug in matplotlib 1.5 (#5399) so I added
some code to work around that.
2016-01-09 08:49:29 -08:00
Roger Labbe 65a77d0af2 Commited before I saved the file! 2016-01-09 08:20:53 -08:00
Roger Labbe 8bab476b31 Edited so I can report bug to matplotlib. 2016-01-09 08:20:28 -08:00
Roger Labbe cb45bf236e Copy edits 2016-01-05 15:45:27 -08:00
Roger Labbe 6a621ca59e Merge pull request #76 from wspr/wspr
03-gaussians copyedit
2016-01-05 06:44:28 -08:00
Will Robertson 615501e899 03-gaussians copyedit
* integrals should have "du", etc. (right??)

* $\mathit{VAR}$ gives better spacing than $VAR$

* I find "within $1\sigma$" to be ambiguous; "within $\pm1sigma$" much more clear

* Changed dashes in text from hyphens to em-dashes

* Changed (some) straight quotation marks to curly ones (and removed single quotes in favour of double ones)

* Improved "°C" to just use a text symbol

* Assorted random typos, etc., but avoided rewording anything except for one particularly difficult sentence
2016-01-06 00:26:48 +10:30
Roger Labbe e52e2ca206 Copy edits. 2016-01-03 16:13:40 -08:00