Machine Learning
Machine Learning
From: https://www.rgitaa.com

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="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.8.0/p5.min.js"></script>   
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.8.0/addons/p5.dom.min.js"></script>
<script src="https://unpkg.com/ml5@0.4.3/dist/ml5.min.js"></script>

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

Let’s…

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