Skip to content

DWoC Contributor's Guide

Jithendaraa Subramanian edited this page Nov 3, 2019 · 3 revisions

DWoC Contributor's Guide

What is visualise.ml?

This project aims at being a great guide to anyone who wants to learn/look up things regarding ML, either from scratch or for a quick look up just in case he/she forgot something in the middle of their ML project. This project broadly consists of 2 aspects:

  • The easy part: coming up with/getting mathematical content from textbooks for each algorithm and elucidating the math to the readers.
  • The challenging part: creating cool, user intuitive visualisations that help readers understand what the algorithm does. Most courses/textbooks explain the math clearly but fail to provide visualisations so you might not get the full intuition of what's going on! The goal is to have a web application has visualisations of most if not all ML algorithms in order to provide a visual feel of what's happening with the algorithm rather that just jotting down some mathematical formulae like a text book.

In essence we are trying to implement visualisations like these with explanations using js visualisation libraries like d3, victory, react-vis, etc:

K Nearest Neighbors: http://vision.stanford.edu/teaching/cs231n-demos/knn/
Optimization algorithms: https://www.benfrederickson.com/numerical-optimization/
Neural Networks: http://playground.tensorflow.org and https://transcranial.github.io/keras-js/#/

I don't know ML at all, can I still contribute?

YES! Knowledge in ML is not a prerequisite(read: something that's gonna stop you) from contributing to this project. Though it involves ML, this project is more JavaScript heavy in the sense that you need to get comfortable with visualisation libraries(of your choice) to get it right rather than spending hours to learn ML theory(you will still need a bit of ML though, but you can just refer from online resources or hit up the slack group in the Contact section).

Resources

If you're searching for resources to learn ML, the best way is to randomly YouTube/Google that particular algorithm(some algorithm which is there in the To implement section). You can also lookup the algorithm from some online course like the one by AndrewNG on Coursera which is also available in YouTube for free. If you're just getting started with ML, it's advisable not to start reading those math books right away. These videos/courses explaining the particular algorithm do a pretty good job and save you a lot of time instead of you having to patiently go through those books with small fonts. Usually regression and classification algorithms tend to be easier to implement than clustering algorithms like KNNs.

Won't there already be websites like these?

Mostly. I'm pretty sure one can find visualisations for almost any algorithm these days. This project is not the first of its kind, but developing these visualisations needs considerable amount of skill in dev, visualisations, ML and Math and this provides a great platform to develop and hone these skills! And after implementing an algorithm once, you'll almost never forget it.

To implement

Implementing visualisations of the following algorithms (preferably with real-time hyperparameter tuning(eg. learning rate), options to choose normalizations like L1 or L2, options to choose the loss functions like MSE, RMSE, choosing activation functions like tanh, ReLU):
  • Linear Regression (Regression - 3)
  • PCA (Dimensionality reduction - 6)
  • KNN (Clustering - 6)

Scores(on 10) have been assigned to each algorithm. A higher score means it is harder to implement.

Contact

If you have some specific/detailed ideas to implement the algorithms that gives a good visual intuition, join the communication channel on Slack and send a message! Feel free to contact if I have missed a crucial detail that must have been put up on this Wiki.

If you want to propose working on an algorithm that is not present in the implemented or To implement section, you can submit project proposals/ideas on the DWoC website so we can give it a read before putting it up here.

This wiki will be constantly updated(every week) of the algorithms implemented, the ones that are yet to be done, and other algo-specific visualisations which might need some tweaking.