Numerical Computing in Python - Department of Computer Science
[Pages:47]Numpy and Scipy
Numerical Computing in Python
1
What is Numpy?
? Numpy, Scipy, and Matplotlib provide MATLABlike functionality in python.
? Numpy Features:
Typed multidimentional arrays (matrices) Fast numerical computations (matrix math) High-level math functions
2
Why do we need NumPy
Let's see for ourselves!
3
Why do we need NumPy
? Python does numerical computations slowly. ? 1000 x 1000 matrix multiply
Python triple loop takes > 10 min. Numpy takes ~0.03 seconds
4
Logistics: Versioning
? In this class, your code will be tested with:
Python 2.7.6 Numpy version: 1.8.2 Scipy version: 0.13.3 OpenCV version: 2.4.8
? Two easy options:
Class virtual machine (always test on the VM) Anaconda 2 (some assembly required)
5
NumPy Overview
1. Arrays 2. Shaping and transposition 3. Mathematical Operations 4. Indexing and slicing 5. Broadcasting
6
Arrays
Structured lists of numbers.
? Vectors ? Matrices ? Images ? Tensors ? ConvNets
7
Arrays
Structured lists of numbers.
? Vectors ? Matrices ? Images ? Tensors ? ConvNets
11 1
1
8
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- the numpy array a structure for efficient numerical computation
- an introduction to numpy and scipy virginia tech
- python3 stanford university
- numpy tutorial complete guide to learn python numpy
- numpy user guide
- cheat sheet numpy python copy datacamp
- using python like matlab and mathematica fermilab
- an introduction to numpy and scipy ucsb college of engineering
- numpy notes github pages
- numerical computing in python department of computer science
Related searches
- list of computer science topics
- benefits of computer science degree
- history of computer science pdf
- fundamentals of computer science pdf
- benefits of computer science career
- benefits of computer science education
- phd in computer science jobs
- doctorate in computer science salary
- doctor of computer science salary
- examples of computer science math
- list of computer science journals
- examples of computer science projects