Python Científico
-
Upload
marcio-ramos -
Category
Technology
-
view
166 -
download
7
description
Transcript of Python Científico
![Page 1: Python Científico](https://reader030.fdocumentos.com/reader030/viewer/2022012314/54c6a5324a7959cb228b4580/html5/thumbnails/1.jpg)
Python Científico
![Page 2: Python Científico](https://reader030.fdocumentos.com/reader030/viewer/2022012314/54c6a5324a7959cb228b4580/html5/thumbnails/2.jpg)
Márcio Valença Ramos
![Page 3: Python Científico](https://reader030.fdocumentos.com/reader030/viewer/2022012314/54c6a5324a7959cb228b4580/html5/thumbnails/3.jpg)
CUBO
![Page 4: Python Científico](https://reader030.fdocumentos.com/reader030/viewer/2022012314/54c6a5324a7959cb228b4580/html5/thumbnails/4.jpg)
![Page 5: Python Científico](https://reader030.fdocumentos.com/reader030/viewer/2022012314/54c6a5324a7959cb228b4580/html5/thumbnails/5.jpg)
![Page 6: Python Científico](https://reader030.fdocumentos.com/reader030/viewer/2022012314/54c6a5324a7959cb228b4580/html5/thumbnails/6.jpg)
![Page 7: Python Científico](https://reader030.fdocumentos.com/reader030/viewer/2022012314/54c6a5324a7959cb228b4580/html5/thumbnails/7.jpg)
Vamos falar de
Ciência
![Page 8: Python Científico](https://reader030.fdocumentos.com/reader030/viewer/2022012314/54c6a5324a7959cb228b4580/html5/thumbnails/8.jpg)
![Page 9: Python Científico](https://reader030.fdocumentos.com/reader030/viewer/2022012314/54c6a5324a7959cb228b4580/html5/thumbnails/9.jpg)
![Page 10: Python Científico](https://reader030.fdocumentos.com/reader030/viewer/2022012314/54c6a5324a7959cb228b4580/html5/thumbnails/10.jpg)
![Page 11: Python Científico](https://reader030.fdocumentos.com/reader030/viewer/2022012314/54c6a5324a7959cb228b4580/html5/thumbnails/11.jpg)
Vamos falar de
Python
![Page 12: Python Científico](https://reader030.fdocumentos.com/reader030/viewer/2022012314/54c6a5324a7959cb228b4580/html5/thumbnails/12.jpg)
Beautiful
&
“Fast”
![Page 13: Python Científico](https://reader030.fdocumentos.com/reader030/viewer/2022012314/54c6a5324a7959cb228b4580/html5/thumbnails/13.jpg)
![Page 14: Python Científico](https://reader030.fdocumentos.com/reader030/viewer/2022012314/54c6a5324a7959cb228b4580/html5/thumbnails/14.jpg)
![Page 15: Python Científico](https://reader030.fdocumentos.com/reader030/viewer/2022012314/54c6a5324a7959cb228b4580/html5/thumbnails/15.jpg)
Mas e o ?
![Page 16: Python Científico](https://reader030.fdocumentos.com/reader030/viewer/2022012314/54c6a5324a7959cb228b4580/html5/thumbnails/16.jpg)
$$
![Page 17: Python Científico](https://reader030.fdocumentos.com/reader030/viewer/2022012314/54c6a5324a7959cb228b4580/html5/thumbnails/17.jpg)
Liberdade
![Page 18: Python Científico](https://reader030.fdocumentos.com/reader030/viewer/2022012314/54c6a5324a7959cb228b4580/html5/thumbnails/18.jpg)
; Em muitas linguagens:
Fim de linha
Em Python:
Inútil
No Matlab:
Suprima saída para o stdout
![Page 19: Python Científico](https://reader030.fdocumentos.com/reader030/viewer/2022012314/54c6a5324a7959cb228b4580/html5/thumbnails/19.jpg)
![Page 20: Python Científico](https://reader030.fdocumentos.com/reader030/viewer/2022012314/54c6a5324a7959cb228b4580/html5/thumbnails/20.jpg)
() count(2)
Count é uma função? Um vetor?
![Page 21: Python Científico](https://reader030.fdocumentos.com/reader030/viewer/2022012314/54c6a5324a7959cb228b4580/html5/thumbnails/21.jpg)
WAT
![Page 22: Python Científico](https://reader030.fdocumentos.com/reader030/viewer/2022012314/54c6a5324a7959cb228b4580/html5/thumbnails/22.jpg)
http://www.pyzo.org/python_vs_matlab.html
![Page 23: Python Científico](https://reader030.fdocumentos.com/reader030/viewer/2022012314/54c6a5324a7959cb228b4580/html5/thumbnails/23.jpg)
![Page 24: Python Científico](https://reader030.fdocumentos.com/reader030/viewer/2022012314/54c6a5324a7959cb228b4580/html5/thumbnails/24.jpg)
+ = 2 2 2
![Page 25: Python Científico](https://reader030.fdocumentos.com/reader030/viewer/2022012314/54c6a5324a7959cb228b4580/html5/thumbnails/25.jpg)
![Page 26: Python Científico](https://reader030.fdocumentos.com/reader030/viewer/2022012314/54c6a5324a7959cb228b4580/html5/thumbnails/26.jpg)
SciPy (pronounced “Sigh Pie”)
is a Python-based
ecosystem of open-source
software for mathematics,
science, and engineering.
![Page 27: Python Científico](https://reader030.fdocumentos.com/reader030/viewer/2022012314/54c6a5324a7959cb228b4580/html5/thumbnails/27.jpg)
Peças deste
Lego
![Page 28: Python Científico](https://reader030.fdocumentos.com/reader030/viewer/2022012314/54c6a5324a7959cb228b4580/html5/thumbnails/28.jpg)
![Page 29: Python Científico](https://reader030.fdocumentos.com/reader030/viewer/2022012314/54c6a5324a7959cb228b4580/html5/thumbnails/29.jpg)
NumPy is the fundamental package for
scientific computing with Python. It contains
among other things:
• A powerful N-dimensional array object
• Sophisticated (broadcasting) functions
• Tools for integrating C/C++ and Fortran
code
• Useful linear algebra, Fourier transform, and random number capabilities
![Page 30: Python Científico](https://reader030.fdocumentos.com/reader030/viewer/2022012314/54c6a5324a7959cb228b4580/html5/thumbnails/30.jpg)
![Page 31: Python Científico](https://reader030.fdocumentos.com/reader030/viewer/2022012314/54c6a5324a7959cb228b4580/html5/thumbnails/31.jpg)
The SciPy library is one of the core packages
that make up the SciPy stack.
It provides many user-friendly and efficient
numerical routines such as routines for numerical
integration and optimization.
![Page 32: Python Científico](https://reader030.fdocumentos.com/reader030/viewer/2022012314/54c6a5324a7959cb228b4580/html5/thumbnails/32.jpg)
![Page 33: Python Científico](https://reader030.fdocumentos.com/reader030/viewer/2022012314/54c6a5324a7959cb228b4580/html5/thumbnails/33.jpg)
matplotlib is a python 2D plotting library which
produces publication quality figures in a variety of hardcopy
formats and interactive environments across platforms.
matplotlib can be used in python scripts, the python
and ipython shell (ala MATLAB or Mathematica), web
application servers, and six graphical user interface toolkits.
![Page 34: Python Científico](https://reader030.fdocumentos.com/reader030/viewer/2022012314/54c6a5324a7959cb228b4580/html5/thumbnails/34.jpg)
![Page 35: Python Científico](https://reader030.fdocumentos.com/reader030/viewer/2022012314/54c6a5324a7959cb228b4580/html5/thumbnails/35.jpg)
IPython provides a rich architecture for interactive
computing with:
• Powerful interactive shells (terminal and Qt-based).
• A browser-based notebook with support for code, text,
mathematical expressions, inline plots and other rich
media.
• Support for interactive data visualization and use of GUI
toolkits.
• Flexible, embeddable interpreters to load into your own
projects.
• Easy to use, high performance tools for parallel computing.
![Page 36: Python Científico](https://reader030.fdocumentos.com/reader030/viewer/2022012314/54c6a5324a7959cb228b4580/html5/thumbnails/36.jpg)
![Page 37: Python Científico](https://reader030.fdocumentos.com/reader030/viewer/2022012314/54c6a5324a7959cb228b4580/html5/thumbnails/37.jpg)
SymPy is a Python library for symbolic
mathematics. It aims to become a full-
featured computer algebra system (CAS)
while keeping the code as simple as
possible in order to be comprehensible
and easily extensible.
![Page 38: Python Científico](https://reader030.fdocumentos.com/reader030/viewer/2022012314/54c6a5324a7959cb228b4580/html5/thumbnails/38.jpg)
![Page 39: Python Científico](https://reader030.fdocumentos.com/reader030/viewer/2022012314/54c6a5324a7959cb228b4580/html5/thumbnails/39.jpg)
pandas is an open source, BSD-licensed
library providing high-performance, easy-to-
use data structures and data analysis tools
for the Python programming language.
![Page 40: Python Científico](https://reader030.fdocumentos.com/reader030/viewer/2022012314/54c6a5324a7959cb228b4580/html5/thumbnails/40.jpg)
![Page 41: Python Científico](https://reader030.fdocumentos.com/reader030/viewer/2022012314/54c6a5324a7959cb228b4580/html5/thumbnails/41.jpg)
scikit-learn Machine Learning in Python: • Simple and efficient tools for data mining and
data analysis
• Accessible to everybody, and reusable in various
contexts
• Built on NumPy, SciPy, and matplotlib
• Open source, commercially usable - BSD license
![Page 42: Python Científico](https://reader030.fdocumentos.com/reader030/viewer/2022012314/54c6a5324a7959cb228b4580/html5/thumbnails/42.jpg)
![Page 43: Python Científico](https://reader030.fdocumentos.com/reader030/viewer/2022012314/54c6a5324a7959cb228b4580/html5/thumbnails/43.jpg)
#NumPy
![Page 44: Python Científico](https://reader030.fdocumentos.com/reader030/viewer/2022012314/54c6a5324a7959cb228b4580/html5/thumbnails/44.jpg)
#SymPy
![Page 45: Python Científico](https://reader030.fdocumentos.com/reader030/viewer/2022012314/54c6a5324a7959cb228b4580/html5/thumbnails/45.jpg)
#Scikit-learn
![Page 46: Python Científico](https://reader030.fdocumentos.com/reader030/viewer/2022012314/54c6a5324a7959cb228b4580/html5/thumbnails/46.jpg)
#Juntando várias
![Page 47: Python Científico](https://reader030.fdocumentos.com/reader030/viewer/2022012314/54c6a5324a7959cb228b4580/html5/thumbnails/47.jpg)
Dúvidas?
![Page 48: Python Científico](https://reader030.fdocumentos.com/reader030/viewer/2022012314/54c6a5324a7959cb228b4580/html5/thumbnails/48.jpg)
Obrigado! slideshare.net/marrciovr [email protected] facebook.com/marrciovr