Machine Learning
Machine Learning

Currently developing or acquiring transactional information systems should not be the last and only goal of technology departments. On the contrary, one of the main purposes should be to take advantage of all that data that has accumulated over the years and use it to add real value to the business and generate an advantage competitive in the market. At this point is where Machine Learning contributes its grain of sand.

But what is exactly Machine Learning, well Arthur Samuel define ML as:

Field of study that allows computers to learn without being explicitly programmed.

Although Machine Learning is not…

ml5.js is a library that provides easy integration of machine learning algorithms and models in the browser and is built on TensorFlow.js.

In this example, you can control the speed of music in a simple way with the interaction of an image classification machine learning model.

Getting Started

Since ml5.js runs on the browser you need to include the scripts to the header of your html file, including p5.js:

<script src=""></script>   
<script src=""></script>
<script src=""></script>

Add the music into your html file, in this example I am playing The Symphony №5 in C minor of Ludwig van Beethoven.


Fernanda Romero

Full-Stack Web Developer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store