probml/pmtk3 — pull request #70 by findmyway (2014-02-28 07:03:07+00:00)
Title: Python

Finished the structure of python demos.

I upload most demos of ch01 here, except ``logregSATdemo`` ,``linregWedgeDemo2``, ``pcaDemo3d`` unfinished.

If you have any questions, please let me know. After fixing them I will push some other chapters.

The structure is as follows.

python
|---build ( contain docs)
|---demos ( contain demos seperated in chapters)
|------ch01
|-----------ch01.rst ( to generate docs)
|-----------.py (demos)
|-----------.png (fig results)
|------chXX
|------.........
|---Makefile (to generate docs on linux)
|---make.bat (to generate docs on windows)
|---conf.py ( settings of sphinx to generate docs)
|---index.rst (generate index.html)
|---utils.py ( provide a function ``load_mat()``, to read data in ``/pmtk3/pmtkdataCopy``, to make things easy, I just copy the data from [pmtkdata] (https://github.com/probml/pmtkdata), maybe this function need to adjust latter.