Data Science
3 articles on Data Science by John Hernandez, most recently “Ridge Regression from Scratch: Gradient Descent and Cross-Validation on Credit Data”.
- Ridge Regression from Scratch: Gradient Descent and Cross-Validation on Credit Data
A notebook-style walkthrough of ridge regression on the ISLR credit data: batch gradient descent, a λ path, five-fold CV, and a side-by-side check against scikit-learn and R, including the bugs in the original homework code.
- Python DataFrames: A Practical Pandas Quick Reference
A quick reference for working with pandas DataFrames in Python, with examples for inspecting, selecting, filtering, sorting, grouping, cleaning, and summarizing data.
- Analyzing Influence and Popularity in the Spotify Artist Collaboration Network
Explore how graph analysis, PySpark, linear regression, and K-Means can be used to study influence, popularity, and artist communities in a large Spotify collaboration network.