ML5.js is a widely used high-level machine learning framework running on top of TensorFlow.js. It is designed to make machine learning accessible to a broad audience, such as students and artists. Those who are not familiar with machine learning tend to be only interested in the output of the algorithm, not the internal details of the algorithm. They are likely to want to write an efficient application without having to care too much about the optimization of the algorithm. ML5.js achieves good performance by using TensorFlow.js internally while providing an intuitive interface to developers.
As well as TensorFlow.js, ML5.js is distributed on the CDN, unpkg. Technically, you do not need to install anything in your application, you just need the following code:
<!DOCTYPE html>
<html lang="en">
<head>
<title>...