Summary of GSoC'21 (under Tensorflow) with pyprobml


Probabilistic Machine Learning+GSoC


M
y journey with pyprobml started in march'21 after going through the announced GSoC projects. I worked on making the legacy code of probml in python and also on new code for the freshly-brewed topics from the vol2 (in making!) of the book

Almost every figure in the books will be generated by a script/notebook that's optimized and thoroughly documented.

This has been amazing with all the new learnings-unlearnings, challenges and accomplishments.

In this blog, I would like to share all my work(that's been available publicly) for the pyprobml codebase and also a bunch of awesome! things that I have witnessed and learnt during this period.


My contributions to the probml org:

Below are the list of PRs that's been merged, each of them refer to a specific column in the books. 

        Pre-GSoC:

  • Cluster yeast data using kmeans πŸ”—
  • Different kernel binary classifiers demo on bishop data πŸ”—
  • Kernel regression demo using NW Smoother πŸ”—
  • Ridge Regression demo using rbf kernel πŸ”—
  • SVM demo tweaking for different C(regularizer) and gamma(rbf scale) values πŸ”—
  • Implemented Probit regression (using EM) and and compared with the bfgs version πŸ”—
  • Implemented Bayes linreg with gaussian prior and variational bayes with demo πŸ”—
  • custom VAE on celeba and mnist using pytorch πŸ”—

       During-GSoC:

  • prior and posterior predictive for beta binomial. πŸ”—
  • Bayes Multi-Linear regression with imputation using numpyro πŸ”—
  • Sparse coding(Dictionary learning) demo using spams πŸ”—
  • Implemented Fisher LDA fit and a demo on vowel data πŸ”—
  • Feature Extractor for any tensorflow-dataset using CLIP on TPUs πŸ”—
  • MLP, Logreg demos on clip-feature extracted Imagenette dataset using flax, pytorch-lightning πŸ”—
  • Tutorial on Google Cloud Storage(GCS) using google-colab in different ways πŸ”—
  • Tutorial on Git-LFS using googe-colab πŸ”—
  • Feature Extractor for any tensorflow-dataset using jax version of CLIP on TPUs πŸ”—
  • Improved Cifar-cnn(Resnet-18) using pytorch-lightning πŸ”—
  • Very-deep-vae(vdvae)-pytorch recons and gens demo on google-colab πŸ”—
  • Very-deep-vae-jax(vdvae-jax) recons and gens demo on google-colab πŸ”—
  • Robust prior(Cauchy) demo πŸ”—
  • Plotting Upper bounds for the sigmoid(logistic) functionπŸ”—
  • Plotting optimal lower bounds for exp(-x)πŸ”—
  • Gaussian graphical model(ggm) fit demo given the adjacency graph πŸ”— 

Hey, if you want to know about some cool stuff I learnt in this period go here


Comments

Popular posts from this blog