Presentation is loading. Please wait.

Presentation is loading. Please wait.

Pattern Recognition Software CS855 Week 1. Matlab Commercial Very fast matrix operations Many open source functions Portability limited Free Interpreted.

Similar presentations


Presentation on theme: "Pattern Recognition Software CS855 Week 1. Matlab Commercial Very fast matrix operations Many open source functions Portability limited Free Interpreted."— Presentation transcript:

1 Pattern Recognition Software CS855 Week 1

2 Matlab Commercial Very fast matrix operations Many open source functions Portability limited Free Interpreted language, can be slow. C function calls are fast Many 3 rd party libs Portable Python

3 Matlab setup On the Pace network (on campus or VPN) – smb://vsapps.seidenberg.csis/MATLAB – Follow either the 32bit or 64bit link

4 Python setup Download and install Anaconda – http://continuum.io/downloads http://continuum.io/downloads – Includes all the major Python scientific libraries Pick an editor/IDE – Emacs, Aptana Studio (Eclipse + PyDev), PyCharm Start an Ipython Notebook $ ipython notebook

5 Workflow Matlab Interactive command prompt Python Editor + REPL IPython notebook

6 Matrix operations Matlab a = [[1,2]] b = [[1];[2]] a.*b % element-wise a*b % matrix Python a = np.array([[1, 2]]) b = np.array([[3],[4]]) a * b # element-wise a.dot(a) # matrix

7 Binomial distribution Matlab prob.BinomialDistribution Python np.random.binomial


Download ppt "Pattern Recognition Software CS855 Week 1. Matlab Commercial Very fast matrix operations Many open source functions Portability limited Free Interpreted."

Similar presentations


Ads by Google