Diferencia entre revisiones de «Tutorial Python Alex 19-10-12»
De Grupo de Inteligencia Computacional (GIC)
(Página blanqueada) |
Sin resumen de edición |
||
Línea 1: | Línea 1: | ||
<div id="Python Tutorial" class="note"> | |||
= Python Tutorial = | |||
- Alexandre Savio, October 19th, 2012 <span><font face="monospace">sudo apt-get install ipython python-numpy python-scipy python-mvpa2 python-setuptools python-matplotlib python-mvpa2-tutorialdata git python-pip python-nibabel sudo pip install -U scikit-image scikit-learn statsmodels</font></span> | |||
* '''Python'''<strike> </strike> | |||
** '''Hello World!''' | |||
** Tutorials: | |||
*** [http://docs.python.org/tutorial/index.html <font color="#3465A4">http://docs.python.org/tutorial/index.html</font>] | |||
*** [http://docs.python.org/tutorial/controlflow.html <font color="#3465A4">http://docs.python.org/tutorial/controlflow.html</font>] | |||
*** [http://docs.python.org/tutorial/datastructures.html <font color="#3465A4">http://docs.python.org/tutorial/datastructures.html</font>] | |||
*** [http://docs.python.org/tutorial/datastructures.html#looping-techniques <font color="#3465A4">http://docs.python.org/tutorial/datastructures.html#looping-techniques</font>] | |||
*** [http://docs.python.org/tutorial/datastructures.html#dictionaries <font color="#3465A4">http://docs.python.org/tutorial/datastructures.html#dictionaries</font>] | |||
* '''IDEs''' | |||
** [http://ipython.org <font color="#3465A4">http://ipython.org</font>] | |||
** [http://code.google.com/p/pythonxy/ <font color="#3465A4">http://code.google.com/p/pythonxy/</font>] | |||
** [http://spyder-ide.blogspot.com.es/ <font color="#3465A4">http://spyder-ide.blogspot.com.es/</font>] | |||
* | |||
* '''Installing libraries''' | |||
** Ubuntu repositories | |||
** [http://pypi.python.org/pypi <font color="#3465A4">http://pypi.python.org/pypi</font>] | |||
* '''Numpy'''<strike> </strike> | |||
** [http://numpy.scipy.org/ <font color="#3465A4">http://numpy.scipy.org/</font>] | |||
** [http://www.scipy.org/Tentative_NumPy_Tutorial <font color="#3465A4">http://www.scipy.org/Tentative_NumPy_Tutorial</font>] | |||
** Numpy for Matlab users | |||
*** [http://www.scipy.org/NumPy_for_Matlab_Users <font color="#3465A4">http://www.scipy.org/NumPy_for_Matlab_Users</font>] | |||
** Tutorials: | |||
*** [http://www.scipy.org/Tentative_NumPy_Tutorial#head-864862d3f2bb4c32f04260fac61eb4ef34788c4c <font color="#3465A4">http://www.scipy.org/Tentative_NumPy_Tutorial#head-864862d3f2bb4c32f04260fac61eb4ef34788c4c</font>] | |||
*** [http://www.scipy.org/Tentative_NumPy_Tutorial#head-d55e594d46b4f347c20efe1b4c65c92779f06268 <font color="#3465A4">http://www.scipy.org/Tentative_NumPy_Tutorial#head-d55e594d46b4f347c20efe1b4c65c92779f06268</font>] | |||
*** [http://www.scipy.org/Tentative_NumPy_Tutorial#head-aa75ec76530ff51a2e98071adb7224a4b793519e <font color="#3465A4">http://www.scipy.org/Tentative_NumPy_Tutorial#head-aa75ec76530ff51a2e98071adb7224a4b793519e</font>] | |||
* '''Scipy''' | |||
** [http://www.scipy.org/Cookbook <font color="#3465A4">http://www.scipy.org/Cookbook</font>] | |||
** [http://scipy-central.org/ <font color="#3465A4">http://scipy-central.org/</font>] | |||
** [http://docs.scipy.org/doc/scipy/reference/index.html <font color="#3465A4">http://docs.scipy.org/doc/scipy/reference/index.html</font>] | |||
** Tutorials: | |||
*** [http://www.scipy.org/Cookbook/Interpolation <font color="#3465A4">http://www.scipy.org/Cookbook/Interpolation</font>] | |||
*** [http://www.scipy.org/Cookbook/Watershed <font color="#3465A4">http://www.scipy.org/Cookbook/Watershed</font>] | |||
*** [http://www.scipy.org/Cookbook/RadialBasisFunctions <font color="#3465A4">http://www.scipy.org/Cookbook/RadialBasisFunctions</font>] | |||
*** [http://www.scipy.org/Cookbook/LinearRegression <font color="#3465A4">http://www.scipy.org/Cookbook/LinearRegression</font>] | |||
* '''Statistics and Pattern analysis''' | |||
** [http://pypi.python.org/pypi/statsmodels <font color="#3465A4">http://pypi.python.org/pypi/statsmodels</font>] | |||
** [http://docs.scipy.org/doc/scipy/reference/tutorial/stats.html <font color="#3465A4">http://docs.scipy.org/doc/scipy/reference/tutorial/stats.html</font>] | |||
** [http://www.pymvpa.org/ <font color="#3465A4">http://www.pymvpa.org/</font>] | |||
** [http://www.shogun-toolbox.org/ <font color="#3465A4">http://www.shogun-toolbox.org/</font>] | |||
*** [http://www.shogun-toolbox.org/doc/en/current/methods.html <font color="#3465A4">http://www.shogun-toolbox.org/doc/en/current/methods.html</font>] | |||
** [http://scikit-learn.org/stable/ <font color="#3465A4">http://scikit-learn.org/stable/</font>] | |||
** [http://scikits.appspot.com/scikits <font color="#3465A4">http://scikits.appspot.com/scikits</font>] | |||
** Tutorial scipy.stats: | |||
*** [http://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.ttest_ind.html#scipy.stats.ttest_ind <font color="#3465A4">http://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.ttest_ind.html#scipy.stats.ttest_ind</font>] | |||
*** [http://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.pearsonr.html#scipy.stats.pearsonr <font color="#3465A4">http://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.pearsonr.html#scipy.stats.pearsonr</font>] | |||
** Tutorial scikit-learn: | |||
*** [http://nisl.github.com/introduction.html <font color="#3465A4">http://nisl.github.com/introduction.html</font>] | |||
*** [http://www.ehu.es/ccwintco/index.php/Hyperspectral_Remote_Sensing_Scenes <font color="#3465A4">http://www.ehu.es/ccwintco/index.php/Hyperspectral_Remote_Sensing_Scenes</font>] | |||
*** [http://www.ehu.es/ccwintco/uploads/a/a3/Salinas_corrected.mat <font color="#3465A4">http://www.ehu.es/ccwintco/uploads/a/a3/Salinas_corrected.mat</font>] | |||
*** [http://www.ehu.es/ccwintco/uploads/f/fa/Salinas_gt.mat <font color="#3465A4">http://www.ehu.es/ccwintco/uploads/f/fa/Salinas_gt.mat</font>] | |||
*** [/home/alexandre/Dropbox/Documents/phd/work/salinas/sklearn_on_salinas.py <font color="#3465A4">/home/alexandre/Dropbox/Documents/phd/work/salinas/sklearn_on_salinas.py</font>] | |||
* '''Neuroimaging with Scikit-learn''' | |||
** [http://nisl.github.com/index.html <font color="#3465A4">http://nisl.github.com/index.html</font>] | |||
** [http://nisl.github.com/auto_examples/index.html <font color="#3465A4">http://nisl.github.com/auto_examples/index.html</font>] | |||
** Tutorial: | |||
*** cd ~ | |||
*** git clone [https://github.com/nisl/tutorial.git <font color="#3465A4">https://github.com/nisl/tutorial.git</font>] | |||
*** cd tutorial | |||
*** sudo python setup.py install | |||
*** ipython | |||
*** [http://nisl.github.com/auto_examples/plot_ica_resting_state.html#example-tutorial-plot-ica-resting-state-py <font color="#3465A4">http://nisl.github.com/auto_examples/plot_ica_resting_state.html#example-tutorial-plot-ica-resting-state-py</font>] | |||
<strike> </strike> | |||
* '''Imaging''' | |||
** [http://docs.scipy.org/doc/scipy/reference/ndimage.html <font color="#3465A4">http://docs.scipy.org/doc/scipy/reference/ndimage.html</font>] | |||
** [http://www.pythonware.com/products/pil/ <font color="#3465A4">http://www.pythonware.com/products/pil/</font>] | |||
** [http://scikit-image.org/ <font color="#3465A4">http://scikit-image.org/</font>] | |||
** [http://opencv.willowgarage.com/wiki/ <font color="#3465A4">http://opencv.willowgarage.com/wiki/</font>] | |||
** Imagemagick API | |||
** Nifti images: [http://nipy.sourceforge.net/nibabel/ <font color="#3465A4">http://nipy.sourceforge.net/nibabel/</font>] | |||
** Tutorials: | |||
*** [http://scikit-image.org/docs/dev/auto_examples/plot_gabors_from_lena.html <font color="#3465A4">http://scikit-image.org/docs/dev/auto_examples/plot_gabors_from_lena.html</font>] | |||
*** [http://scikit-image.org/docs/dev/auto_examples/plot_segmentations.html <font color="#3465A4">http://scikit-image.org/docs/dev/auto_examples/plot_segmentations.html</font>] | |||
* '''Hyperspectral Imaging''' | |||
** [http://www.orfeo-toolbox.org/otb/ <font color="#3465A4">http://www.orfeo-toolbox.org/otb/</font>] | |||
** [http://spectralpython.sourceforge.net/ <font color="#3465A4">http://spectralpython.sourceforge.net/</font>] | |||
* '''Interfaces with other softwares''' | |||
** [http://docs.scipy.org/doc/scipy/reference/io.html <font color="#3465A4">http://docs.scipy.org/doc/scipy/reference/io.html</font>] | |||
** [http://forge.scilab.org/index.php/p/sciscipy/ <font color="#3465A4">http://forge.scilab.org/index.php/p/sciscipy/</font>] | |||
** [http://rpy.sourceforge.net/rpy2.html <font color="#3465A4">http://rpy.sourceforge.net/rpy2.html</font>] | |||
** Boost.python | |||
** [http://cython.org/ <font color="#3465A4">http://cython.org/</font>] | |||
* '''Plotting''' | |||
** [http://matplotlib.org/ <font color="#3465A4">http://matplotlib.org/</font>] | |||
** [http://code.enthought.com/projects/mayavi/ <font color="#3465A4">http://code.enthought.com/projects/mayavi/</font>] | |||
** [http://cairoplot.sourceforge.net <font color="#3465A4">http://cairoplot.sourceforge.net</font>] | |||
** [http://luke.campagnola.me/code/pyqtgraph/ <font color="#3465A4">http://luke.campagnola.me/code/pyqtgraph/</font>] | |||
* '''Others''' | |||
** [http://igraph.sourceforge.net/ <font color="#3465A4">http://igraph.sourceforge.net/</font>] | |||
** [http://networkx.lanl.gov/ <font color="#3465A4">http://networkx.lanl.gov/</font>] | |||
** [http://nltk.org/ <font color="#3465A4">http://nltk.org/</font>] | |||
** [http://sympy.org/en/index.html <font color="#3465A4">http://sympy.org/en/index.html</font>] | |||
** Machine Learning, Stephen Marsland: link, book, python source code | |||
* '''Cleanup before leaving... ?''' | |||
sudo pip uninstall nisl rm -r [~/tutorial <font color="#3465A4">~/tutorial</font>]</div> |
Revisión del 17:15 18 oct 2012
Python Tutorial
- Alexandre Savio, October 19th, 2012 sudo apt-get install ipython python-numpy python-scipy python-mvpa2 python-setuptools python-matplotlib python-mvpa2-tutorialdata git python-pip python-nibabel sudo pip install -U scikit-image scikit-learn statsmodels
- Python
- Hello World!
- Tutorials:
- IDEs
- Installing libraries
- Ubuntu repositories
- http://pypi.python.org/pypi
- Numpy
- http://numpy.scipy.org/
- http://www.scipy.org/Tentative_NumPy_Tutorial
- Numpy for Matlab users
- Tutorials:
- Scipy
- Statistics and Pattern analysis
- http://pypi.python.org/pypi/statsmodels
- http://docs.scipy.org/doc/scipy/reference/tutorial/stats.html
- http://www.pymvpa.org/
- http://www.shogun-toolbox.org/
- http://scikit-learn.org/stable/
- http://scikits.appspot.com/scikits
- Tutorial scipy.stats:
- Tutorial scikit-learn:
- http://nisl.github.com/introduction.html
- http://www.ehu.es/ccwintco/index.php/Hyperspectral_Remote_Sensing_Scenes
- http://www.ehu.es/ccwintco/uploads/a/a3/Salinas_corrected.mat
- http://www.ehu.es/ccwintco/uploads/f/fa/Salinas_gt.mat
- [/home/alexandre/Dropbox/Documents/phd/work/salinas/sklearn_on_salinas.py /home/alexandre/Dropbox/Documents/phd/work/salinas/sklearn_on_salinas.py]
- Neuroimaging with Scikit-learn
- http://nisl.github.com/index.html
- http://nisl.github.com/auto_examples/index.html
- Tutorial:
- cd ~
- git clone https://github.com/nisl/tutorial.git
- cd tutorial
- sudo python setup.py install
- ipython
- http://nisl.github.com/auto_examples/plot_ica_resting_state.html#example-tutorial-plot-ica-resting-state-py
- Imaging
- Hyperspectral Imaging
- Interfaces with other softwares
- Plotting
- Others
- http://igraph.sourceforge.net/
- http://networkx.lanl.gov/
- http://nltk.org/
- http://sympy.org/en/index.html
- Machine Learning, Stephen Marsland: link, book, python source code
- Cleanup before leaving... ?