=================================
My notes and assignment solutions for Python for Everybody Specialization, including:
- Programming for Everybody(getting start with Python)
- Using Python to Access Web Data
- Using Database with Pyhon
Use Python to implement data structure & algorithm problems from Stanford Algorithm MOOC course.
Week 1: CountInversion.py Use the idea of Merge Sort to compute the number of inversions in a integer Array.
Add my solutions for BerkeleyX Series: Data Science and Engineering with Spark
Lab 4: Use Principal Component Analysis(PCA) to analysis the neural activity image data of zebrafish.
- RDD + lambda function is REALLY easy to compose and fast to run
- pca() fuction in section (2a) that gives the first k eigen vectors, pca scores, and all the eigen values
- numpy matrix operations: dot, inner, outer, eye, tile, kron(section 4a)
- matplotlib.pyplot to make elegant visualization
Almost forgot I have this repository, check out Coding for coding tricks for Python 3.