This is a place for me to share Data Science resources where I aim to provide lots of simple python examples directly in Google Colab.
Basic pandas operations
Build dataframes
Modify series
Merge and concat
Handle missing data
Convert types
Group by
Aggregate
DateTime
Scatter plots for EDA
K-means clusters
Seaborn heatmap
Seaborn distplots
Pandas boxplot
Scipy interpolate
Scipy Q-Q plots
Setup a class framework for use in notebooks, part 1 of 2
Setup a class framework for use in notebooks, part 2 of 2
Process text files
Extracting table data from the web
List comprehensions
Numpy basics
Precision-Recall vs ROC curves
Breast cancer prediction - python notebook that demonstrates the following techniques:
- Univariate feature reduction (remove low correlations with the target).
- Feature reduction based on collinearity (for each highly correlated pair of features, leave only the feature that correlates better with the target value).
- Compare two different model types for supervised learning (Logistic Regression and GBM), including the testing and ranking of feature importance.
- Calculate percentile bins for each model in order to determine the ratio of positive classes for each percentile bin.
- Plot ROC and Precision-Recall curves.
TF-IDF based topic clustering using PCA with K-means, NMF, LDA - python notebook that demonstrates the following techniques:
- Vectorize text to a numeric matrix using TF-IDF (Term Frequency - Inverse Document Frequency)
- Dimensionality Reduction using PCA
- Unsupervised classification: Calculate K-means clusters based on PCA (a reduced version of TF-IDF)
- Unsupervised classification: Calculate NMF (Non-negative Matrix Factorization) based on TF-IDF
- Unsupervised classification: Calculate LDA (Latent Derilicht Analysis) based on TF
Copyright © Gal Arav, 2020