DEV Community

Cover image for Intro to Machine Learning
gfish94
gfish94

Posted on

3

Intro to Machine Learning

What is Machine Learning?

Machine learning is a branch of artificial intelligence. Machine learning uses algorithms to train computer systems and imitate the way that humans learn. The process of teaching a computer how to build associations through inputting data is referred to as training.

Training Models

There are four main training models for machine learning. Supervised, Unsupervised, Semi-supervised and Reinforcement training.

Image description

  • Supervised Machine Learning: In supervised machine learning the system is fed labeled datasets (input = output) into an algorithm so that is can accurately learn to predict future outcomes.

  • Unsupervised Machine Learning: In unsupervised machine learning the system is fed an unlabeled dataset (input = ?) and the algorithm is left to discover patterns without human intervention.

  • Semi-Supervised Machine Learning: In semi-supervised machine learning the system is fed a small labeled dataset, as it is in supervised, and a larger unlabeled dataset. This allows for some level of control like in supervised training without the need to create a large labeled dataset.

  • Reinforcement Machine Learning: In reinforcement machine learning the system is forced to iterate through a problem multiple times and learns based on trial and error.

Machine Learning in JS

JavaScript has multiple libraries that allow for building machine learning algorithms. Some of these include Brain.js, Math.js, ml5.js and TensorFlow. Following is an example of reinforcement machine learning called neuroevolution.

Heroku

This site is built on Heroku

Join the ranks of developers at Salesforce, Airbase, DEV, and more who deploy their mission critical applications on Heroku. Sign up today and launch your first app!

Get Started

Top comments (1)

Collapse
 
chrisimade profile image
@Chrisdevcode

very precise and to the point. Easy to understand even for dummies

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay