Commit Graph

16 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
0e43c1b9ae All line endings to LF from CRLF 2018-07-14 11:45:39 -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
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
e9fe8621a0 Updated for FilterPy 1.4.0 2018-05-05 19:09:21 -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
Roger Labbe
5e6a503619 Updated for FilterPy 1.2.4, moved code around
Moved code specific to one notebook to the *_internal.py file
for that book.

Updated to require FilterPy 1.2.4 due to a fix of a bad bug in the
UKF RTS Smoother, and the change of likelihood from a function back
to a property.
2018-04-18 16:00:10 -07:00
Roger Labbe
9b80d231e2 Wording improvements, and plot changes 2018-03-29 16:50:10 -07:00
Roger Labbe
87b210fd22 Added fast preview for MathJax
Seems to help make MathJax rending much faster.
2018-01-08 14:49:00 -08:00
Roger Labbe
850c7fc0dd Reformat, and changes to work with IPython 6.0
After a new Anaconda install I was getting a lot of minor errors
in the notebooks. I've fixed all of those. Along the ways I altered
the format of the PDF output to exclude the In[] Out[] tags so the
code is indented less. I also altered the font size of the notebooks
to better match fonts in other pages on chrome.

FilterPy was updated to 1.1.0, and this check in requires that release
at the minimum.
2017-11-18 17:14:31 -08:00
Roger Labbe
7c5aa45019 Weights should be reset to 1/N after resampling. 2017-07-03 13:07:28 -07:00
Roger Labbe
529585a4c8 Issue #144 - update variable est/prediction names
I erroneously named the prediction of x x_est, which is confusing at best.

There were also issues with plotsize. The %matplotlib notebook magic
is resetting the size of the plots. Not sure if this has something to do
with some of my plotting code or not. Anyway, I wrote a context manager
to reset the plot size after exiting interactive mode.
2017-06-12 09:30:27 -07:00
Roger Labbe
e16af3c383 Create book_plots.py 2017-06-12 08:14:39 -07:00
Daniel Schuler
df78983576 Add 'Estimates' to legend 2017-05-23 18:25:52 -07:00
Roger Labbe
3d288d60d6 The base python installation has a file code.py; this causes
problems when trying to import files from the code subdirectory.

I also tried to rearange some code so that book_format does not need
to be imported if you are not running in a Jupyter Notebook.
2017-05-11 13:13:17 -07:00