AIExplainer
Machine Learning Intermediate 1 min read

What is decision boundary?

A boundary that separates data into different classes or categories in machine learning

In machine learning, a decision boundary is an imaginary line or surface that separates data into different classes or categories. It's used by algorithms to make predictions or classify new, unseen data.

Think of a decision boundary like a border between two countries. Just as a border separates two countries, a decision boundary separates data into different classes, helping the algorithm decide which class a new piece of data belongs to.

For example, in image classification, a decision boundary might separate images of cats and dogs, allowing the algorithm to predict whether a new image is of a cat or a dog.

Decision boundaries are used in supervised learning algorithms, such as support vector machines and logistic regression, to classify data and make predictions.

A common misconception is that decision boundaries are always linear or simple, but they can be complex and non-linear, depending on the algorithm and data.

The concept of decision boundaries has been around since the early days of machine learning, but it has evolved over time with the development of new algorithms and techniques.

classification boundary separating hyperplane

Three products for different needs — explore what’s relevant to you.