Member-only story
MACHINE LEARNING | PROGRAMMING
Machine Learning in JavaScript Using Brain.js for Simple Applications
Create your own neural network in JavaScript
Machine learning is a form of artificial intelligence (AI) that aims to build systems that can learn from the processed data or use data to perform better. Artificial intelligence is an umbrella term for systems or machines that mimic human intelligence.
Even though machine learning and AI are often mentioned in the same breath, and the terms are sometimes used interchangeably, they don’t mean the same thing.
An important difference is that while machine learning is always under AI, AI is not always under machine learning. Today, machine learning is applied all around us.
When communicating with banks, shopping online, or using social media, machine learning helps our experiences run smoothly and securely. Machine learning and the technology around it are developing rapidly, but we are only just beginning to understand the possibilities they all have to offer.
Getting Started
For Machine Learning in JavaScript, we will use the brain.js
package. First, you need to make sure you have installed Node.js since we will be using the framework.