Commit Graph

19 Commits

Author SHA1 Message Date
Roger Labbe
426f80d4bb Fixed various run issues
Updated pywidgets version to 4.2 to allow the notebooks to run.

Put import __future__ as the first line in each file to avoid
error stating that it must be the first line. Not sure when this
changed, it worked before.
2020-04-26 20:55:09 -07:00
Roger Labbe
0e43c1b9ae All line endings to LF from CRLF 2018-07-14 11:45:39 -07:00
Roger Labbe
7c5aa45019 Weights should be reset to 1/N after resampling. 2017-07-03 13:07:28 -07:00
Roger Labbe
68b2ee27f9 Reran cells to generate plots 2016-09-12 18:12:11 -07:00
Roger Labbe
c246aa0acb Bug where animation not cleared between frames 2016-09-12 17:36:30 -07: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
5794485341 Added animation to PF chapter. 2015-12-10 18:13:41 -08:00
Roger Labbe
7c9bedca38 Fixed animations.
Not sure why, but the two line title was being cut off when
displayed. I must have changed somethign in the matplotlib
sytle at some point that broke this.
2015-11-25 12:01:32 -08:00
Roger Labbe
8e0d2f3185 Copy edit. Checkpoint before big change.
I plan to reorder the design so that the prediction is
fully implemented and I show an example. The chapter just goes
on and on with no examples. Plus, talking about Q just after
discussion Fx makes the most sense.
2015-07-11 19:50:29 -07:00
Roger Labbe
752320ad01 Formatting and experiments.
Let this check in get away from me. Bunch of small formatting sttuf
in the various chapters, some experimental animations and code, etc.
Not a clearly delineated check in.
2015-05-09 10:21:36 -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
9117261d25 Normalized plot styles across chapters.
I had a lot of problems with lines being visible, and ended up
using different styles in different places. I found a style that
seems to work everywhere and put the code in book_plots.py.
2015-01-31 22:42:19 -08:00
Roger Labbe
33c745d997 Edits for reorg
I moved book_format.py to the root directory so that all of the
notebooks do not need to modify the system path to import it. It
modifies the path on import so that all of the code in ./code can
then be accessed.

Altered links to nbviewer to account for no longer using subdirectories.
2015-01-27 15:14:06 -08:00
Roger Labbe
c3ebd9f50c Moved chapter 6 as part of reorg. 2015-01-27 10:29:11 -08:00
Roger Labbe
2a651f6c5b Moved chapter 5 as part of reorg. 2015-01-27 10:18:25 -08:00
Roger Labbe
bb531dde86 Moved chapter 4 as part of reorg 2015-01-27 09:58:39 -08:00
Roger Labbe
8416da7fdc Moved Chapter 2 as part of reorg 2015-01-27 09:51:52 -08:00