PracHub
QuestionsCoachesLearningGuidesInterview Prep
|Home/Machine Learning/OneMain Financial

Handle Missing Values and Outliers in Machine Learning

Last updated: Mar 29, 2026

Quick Overview

Evaluates production-minded handling of missing values, outliers, metrics, algorithms, and XGBoost settings in tabular ML. Strong answers compare methods, trade-offs, leakage risks, and monitoring needs.

  • medium
  • OneMain Financial
  • Machine Learning
  • Data Scientist

Handle Missing Values and Outliers in Machine Learning

Company: OneMain Financial

Role: Data Scientist

Category: Machine Learning

Difficulty: medium

Interview Round: Onsite

##### Scenario Technical screening – model development discussion ##### Question Describe at least two methods to handle missing values in a training set. What are the pros and cons of each? Give two strategies for treating outliers and explain when you would prefer each. Which metrics would you use to evaluate classification and regression models? Justify your choices. Pick one machine-learning algorithm of your choice and walk us through how it works step by step. List the key hyperparameters in XGBoost and explain their impact on the model. ##### Hints Cover imputation, deletion, winsorization, MSE/ROC/AUC/F1, algorithm mechanics, learning_rate, max_depth, n_estimators …

Quick Answer: Evaluates production-minded handling of missing values, outliers, metrics, algorithms, and XGBoost settings in tabular ML. Strong answers compare methods, trade-offs, leakage risks, and monitoring needs.

Related Interview Questions

  • Explain decision trees and tree ensembles - OneMain Financial (easy)
  • Choose evaluation metrics for imbalanced risk model - OneMain Financial (medium)
  • Handle missing data and outliers robustly - OneMain Financial (hard)
  • Select and tune XGBoost hyperparameters - OneMain Financial (hard)
|Home/Machine Learning/OneMain Financial

Handle Missing Values and Outliers in Machine Learning

OneMain Financial logo
OneMain Financial
Jul 12, 2025, 6:59 PM
mediumData ScientistOnsiteMachine Learning
47
0

Handling Missing Values and Outliers in Machine Learning

You are building classification and regression models on tabular business data with missing values and potential outliers. You must choose data treatments, evaluation metrics, and modeling approaches suitable for production.

Constraints & Assumptions

  • Distinguish data cleaning from model-specific preprocessing.
  • Fit imputers, scalers, and transformations on training data only.
  • Explain when missingness or outliers contain signal rather than noise.
  • Discuss production consistency between training and serving.

Clarifying Questions to Ask

  • Why are values missing: random missingness, system failure, user behavior, or not applicable?
  • What percentage of data is missing or outlying by feature and segment?
  • Which model classes are being considered?
  • What business metric matters most for classification and regression performance?

Part 1 - Missing Values

Describe at least two methods to handle missing values and give pros and cons.

What This Part Should Cover

  • Include deletion, simple imputation, model-based imputation, missing indicators, native missing handling, or domain-specific defaults.
  • Discuss bias, variance, sample size, interpretability, leakage, and production feasibility.
  • Consider missing-not-at-random patterns and segment-specific missingness.

Part 2 - Outliers

Provide two strategies for treating outliers and explain when to use each.

What This Part Should Cover

  • Include investigation, capping or winsorization, transformations, robust models/losses, filtering data errors, or separate anomaly treatment.
  • Distinguish legitimate rare behavior from measurement error.
  • Explain effects on linear models, distance-based methods, trees, and business interpretation.
  • Validate outlier treatment on held-out data.

Part 3 - Evaluation Metrics

Which metrics would you use for classification and regression models?

What This Part Should Cover

  • Classification metrics may include accuracy, precision, recall, F1, PR-AUC, ROC-AUC, log loss, calibration, lift, and cost-weighted metrics.
  • Regression metrics may include MAE, RMSE, MAPE or sMAPE, R-squared, quantile loss, and residual diagnostics.
  • Explain metric pitfalls under imbalance, outliers, skewed targets, and business costs.

Part 4 - Algorithm and XGBoost Discussion

Pick one ML algorithm to explain step by step, and list important XGBoost hyperparameters if relevant.

What This Part Should Cover

  • Explain the chosen algorithm in a structured way from input features to training objective and prediction.
  • For XGBoost, cover learning rate, max depth, number of trees, subsampling, column sampling, regularization, min child weight, objective, and early stopping.
  • Tie hyperparameters to overfitting, speed, and generalization.

Follow-up Questions

  • How would you detect leakage from imputation?
  • What if missingness is highly predictive of the target?
  • How would you monitor missingness and outlier drift after deployment?
Loading comments...

Browse More Questions

More Machine Learning•More OneMain Financial•More Data Scientist•OneMain Financial Data Scientist•OneMain Financial Machine Learning•Data Scientist Machine Learning

Write your answer

Your first approved answer each day earns 20 XP.

Sign in to write your answer.
PracHub

Master your tech interviews with 8,500+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • AI Coding Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.