Week 02: ml5js Experiment – Jinzhong Yu (jy2122)

INTRO

For me, ml5js is not a complete new stuff. During last year, I started to contribute to severial open source project, including ml5js. So, it is my second time to ’embrace’ this elegant library.

ML5.JS is a frontend-machine learning library that helps beginners to get in touch with machine learning rapidly. It is based on tensorflow.js but cutting out most of the mistery parts, making it a simple but useful tool for all people. With this library, you might not want to customize your own models (nodes, layers, tensors, etc.) But it is very easy to load pre-trained models and beautifully serve the intelligence of machine learning simply.

INTEREST

When it comes to my interest in ml5, I will talk about two of my favourate networks — SketchRNN and GAN(in this case, I mean DCGAN). The former one use the creativity of RNN to let machine create sketch step by step. And the latter one using deep convolutional GAN to generate picture on its own.

Although, with the limited computational power of browser, the output does not always perfect:

cat generated by SketchRNN
picture generated by DCGAN

The first is generated by SketchRNN (what a lovely cat!). And the second one (emmmm), I do not know what it stands for. Maybe its the deeper thought of machines?

CONCLUSION

Introduce machine learning to the web interface is a significant movement and still needs a lot of efforts. Web is the largest entry of the whole internet and the widest gate between human and machines. So, it could be very fancy and meaningful if web can be equipped with high quality machine learning features.

Leave a Reply