Diferencia entre revisiones de «Tutorial Python Alex 19-10-12»

De Grupo de Inteligencia Computacional (GIC)
Sin resumen de edición
Sin resumen de edición
Línea 67: Línea 67:
** Tutorial scikit-learn:
** Tutorial scikit-learn:
*** [http://nisl.github.com/introduction.html <font color="#3465A4">http://nisl.github.com/introduction.html</font>]
*** [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>]
*** Download data:
*** [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>]
  [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>]
*** sklearn_on_salinas.py in zip file
  [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>]
  sklearn_on_salinas.py in zip file


* '''Neuroimaging with Scikit-learn'''
* '''Neuroimaging with Scikit-learn'''

Revisión del 23:12 18 oct 2012

Python Tutorial

Author: Alex, October 19th, 2012

  • Install the software

$ 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

      • Download data:
 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
 sklearn_on_salinas.py in zip file

 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

  • Cleanup before leaving... ?

sudo pip uninstall nisl rm -r [~/tutorial ~/tutorial]