Numerical Computing in Python - Cornell University
[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
- project 3 hannah choi data 8
- numerical computing in python cornell university
- numpy primer
- module 1 introduction 2 module grids
- linear optimization with python
- informatics practices new 065 class xii kv no 1
- research ideas northwestern university
- avinash maurya full stack web developer
- error handling pandas and data analysis
- markov models numpy
Related searches
- cornell university data analytics program
- cornell university data analytics certificate
- cornell university business analytics
- cornell university business
- cornell university johnson business school
- cornell university college of business
- cornell university college report
- cornell university reputation
- cornell university data analytics
- cornell university dyson business school
- cornell university johnson
- cornell university johnson school