Python can be considered as the same kind of programming environment as MATLAB and R. This is FREE tool and it provide MATLAB-like matrix computation. The following step shows how to install this software.
[1] Install Python
Download the latest python from http://www.python.org/ and install it. You'll see
IDLE (Python GUI) is the same as the MATLAB and R interface. By default, the interface is only shell mode and the editor (functionality to create, edit, save the program) doesn't appear. You need to change a setting: Option > Configure IDLE > General > Startup Preferences --- "Open Edit Window". Click "ok" and restart the IDLE, then you'll see the plain editor.
[2] Install scientific modules (SciPy, NymPy, PyLab)
This is optional but necessary for mathematical use of python. Each module can be downloaded and installed from official site. Many sites are saying that you need to compile after downloading it but now this seems not necessary. The building part is done automatically.
Note that this step can be done automatically by installing python with scientific modules in [1] step.
In addition to these 3 modules, I downloaded "learn" from Scikit (http://scikits.appspot.com/learn) to run the example code. Then, to run this http://pypi.python.org/pypi/setuptools#downloads
[3] Install editor
The built-in editor seems to be too simple. There seems to be no official better editor, but several editors can be found on the internet. Emcas will be the best but the first setting can be complicated. I chose PyScripter. I don't compare all the script editors available, but this is already good and seems enough.
[4] Run run the example code.
em, a python package for Gaussian mixture models (PDF)
This is the same as this blog http://www.ar.media.kyoto-u.ac.jp/members/david/softwares/em/
This has not been working yet....
Thanks - reference.
(Python) http://www16.plala.or.jp/hiyokogumi/8/801.html
(Science modules) http://d.hatena.ne.jp/r_e10/20100514/1273853687
(pkg_reseources) http://packages.python.org/distribute/pkg_resources.html
[1] Install Python
Download the latest python from http://www.python.org/ and install it. You'll see
IDLE (Python GUI) is the same as the MATLAB and R interface. By default, the interface is only shell mode and the editor (functionality to create, edit, save the program) doesn't appear. You need to change a setting: Option > Configure IDLE > General > Startup Preferences --- "Open Edit Window". Click "ok" and restart the IDLE, then you'll see the plain editor.
[2] Install scientific modules (SciPy, NymPy, PyLab)
This is optional but necessary for mathematical use of python. Each module can be downloaded and installed from official site. Many sites are saying that you need to compile after downloading it but now this seems not necessary. The building part is done automatically.
Note that this step can be done automatically by installing python with scientific modules in [1] step.
In addition to these 3 modules, I downloaded "learn" from Scikit (http://scikits.appspot.com/learn) to run the example code. Then, to run this http://pypi.python.org/pypi/setuptools#downloads
[3] Install editor
The built-in editor seems to be too simple. There seems to be no official better editor, but several editors can be found on the internet. Emcas will be the best but the first setting can be complicated. I chose PyScripter. I don't compare all the script editors available, but this is already good and seems enough.
[4] Run run the example code.
em, a python package for Gaussian mixture models (PDF)
This is the same as this blog http://www.ar.media.kyoto-u.ac.jp/members/david/softwares/em/
This has not been working yet....
Thanks - reference.
(Python) http://www16.plala.or.jp/hiyokogumi/8/801.html
(Science modules) http://d.hatena.ne.jp/r_e10/20100514/1273853687
(pkg_reseources) http://packages.python.org/distribute/pkg_resources.html