forked from probml/pmtk3
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
40 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*.pyc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
#pmtk3-python | ||
This is an experimental directory containing translations of a few | ||
pmtk3 demos from Matlab to python. Over time, we hope to port | ||
more and more functionality. | ||
|
||
##Guide | ||
If you are new to using python for scientific computing, I strongly recommend | ||
you to spend some time on | ||
[scipy-lecture-notes](scipy-lectures.github.io). | ||
This document will give you a quick introduction to central tools and | ||
techniques on the scientific Python ecosystem. | ||
|
||
##Requirements | ||
To run demos, you should have installed either python2 or python3 as you like. | ||
You also need to install the following packages | ||
- numpy | ||
- scipy | ||
- matplotlib | ||
- sklearn | ||
- networkx | ||
Here are some instructions on how to install: | ||
- How to install Python https://wiki.python.org/moin/BeginnersGuide/Download | ||
- How to install numpy, scipy, matplotlib http://www.scipy.org/install.html | ||
- How to install sklearn http://scikit-learn.org/stable/install.html | ||
- How to install networkx http://networkx.github.io/documentation/latest/install.html | ||
|
||
You may also need to install some other packages. Just follow the instructions above. | ||
|
||
##How to run demos | ||
All you need to do is setting the PYTHONPATH | ||
- On linux, just put this in your ~/.bashrc | ||
`export PYTHONPATH=/path/to/pmtk3/python` (without quotes) | ||
- On windows, you need to open | ||
My Computer > Properties > Advanced System Settings > Environment Variables > | ||
![img1](http://i.stack.imgur.com/ZGp36.png) | ||
Then under system variables create a new Variable called PYTHONPATH. | ||
Fill the variable value with `/path/to/pmtk3/python` (without quotes) | ||
|
||
In the future, maybe we can build a package to make things easier. |
This file was deleted.
Oops, something went wrong.