Simple implementation of a neural network using p5.js and ml5.js
Click in the canvas to place a label.
Press a letter key on your keyboard to change the label.
Press the reset button to clear the values.
Press the train button to train the model.
The model learns hows x/y coordinates relate to label values.