Example of how to adapt assignment 2 code to assignment 3, this time using Lu Xaio's solution. This completes part 3 by adding training data into training_values.json.
https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.6.1/p5.js
https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.6.1/addons/p5.dom.js
https://cdnjs.cloudflare.com/ajax/libs/seedrandom/2.4.3/seedrandom.min.js
https://d3js.org/d3-random.v1.min.js