I’m not (yet) an expert in machine learning, but like so many I recognize that it’s an incredibly integral part of our future.
Right now, most data insights are the result of some significant effort - a lot of data, a lot of training, and perhaps a significant amount of time spent by data scientists.
I anticipate that insights are going to come not only out of these large projects, but out of the small workflows as well. For example, your average web developer may tend to create some marketing information and some web forms online, but in the future, they’ll also apply some machine learning.
So I copied some code from the Brain.js website and regurgitated it here for your benefit. I also put it into my repo simple-brain.
Here’s the code…
const brain = require('brain.js');