What is a decision boundary in feature space?

Quick Overview

Asks what a decision boundary is in a classifier's feature space. Tests how you define it, how its shape depends on the model family and threshold, and what it reveals about overfitting and underfitting.

What is a decision boundary in feature space?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: easy

Interview Round: Other

What is a decision boundary in feature space? Explain what it is for a classifier, what shapes it takes, and what it can tell you about a model. ```hint Where the prediction flips Think about what the model computes at a point where its prediction is about to change class, and how the model family limits the shape of that set of points. ``` ### What a Strong Answer Covers - A definition in terms of where the predicted class changes - Its dimension and how its shape depends on the model family - How changing the decision threshold affects it - What the boundary reveals about overfitting and underfitting ### Follow-up Questions - How can a linear model produce a curved boundary in the original features? - What does the boundary of a single decision tree look like, and how does a random forest change it? - How does an SVM's margin relate to its decision boundary? - What does the boundary look like when the classes overlap heavily?

Overview: Asks what a decision boundary is in a classifier's feature space. Tests how you define it, how its shape depends on the model family and threshold, and what it reveals about overfitting and underfitting.

PracHub logo
General
Nov 25, 2026
easyMachine Learning EngineerOtherMachine Learning
0
0

What is a decision boundary in feature space?

Explain what it is for a classifier, what shapes it takes, and what it can tell you about a model.

What a Strong Answer Covers Guidance

  • A definition in terms of where the predicted class changes
  • Its dimension and how its shape depends on the model family
  • How changing the decision threshold affects it
  • What the boundary reveals about overfitting and underfitting

Follow-up Questions Guidance

  • How can a linear model produce a curved boundary in the original features?
  • What does the boundary of a single decision tree look like, and how does a random forest change it?
  • How does an SVM's margin relate to its decision boundary?
  • What does the boundary look like when the classes overlap heavily?