AppliedAIPrep logoAppliedAI/Prep

classification

Applied AI interview questions tagged classification, across every topic.

12 questions · 1 unlocked for you

Concepts behind "classification"

The curriculum that explains the ideas these questions test.

Foundational
📊 Evaluation & ML Foundations
Linear and Logistic RegressionLinear regression fits a weighted sum of features to a continuous target by minimizing squared error; logistic regression squashes that same linear score through a sigmoid and fits it with cross-entropy to produce a probability. Interviews probe these because they are the baseline every model is compared against, the coefficients are directly interpretable, and logistic regression is still the production default when you need a calibrated binary score.
Foundational
📊 Evaluation & ML Foundations
kNN and the Curse of Dimensionalityk-nearest-neighbors is a lazy, instance-based learner that classifies a point by majority vote of its closest training examples under some distance metric. Interviews probe it because its failure mode, distance concentration in high dimensions, teaches why naive nearest-neighbor search breaks down and why production systems lean on approximate nearest-neighbor indexes instead.
Core
📊 Evaluation & ML FoundationsSign in
SVMs and the Kernel TrickA support vector machine finds the decision boundary with the widest margin to the nearest points (the support vectors), trading hinge loss against margin width. The kernel trick lets it draw nonlinear boundaries by computing inner products in a high-dimensional space without ever materializing the features. Interviews probe SVMs because they reward understanding margins, duality, and the specific regime (small, high-dimensional data) where they still beat trees and neural nets.
Core
📊 Evaluation & ML FoundationsSign in
Generative vs Discriminative Models (Naive Bayes)A discriminative model learns P(y|x) directly, the decision boundary. A generative model learns the joint P(x,y), so it models how the data is produced and derives the label via Bayes. Naive Bayes is the canonical generative classifier and leans on a strong conditional-independence assumption. Applied-AI interviews probe this to check whether you know that generative wins with little data or missing features while discriminative wins on raw accuracy once data is plentiful.
Core
📊 Evaluation & ML FoundationsSign in
Imbalanced Data and ResamplingImbalanced data is when one class is rare (fraud, churn, disease), so a model that predicts only the majority scores high accuracy while being useless. The fixes are resampling, class weighting, and threshold moving, plus picking the right metric. Applied AI interviews probe it because nearly every real classification problem is skewed, and the trap of resampling the test set or trusting accuracy is common.