PracHub
QuestionsPremiumCoachesLearningGuidesInterview Prep
|Home/Machine Learning/Meta

Develop a Restaurant-Recommendation Engine with Logistic Regression

Last updated: Mar 29, 2026

Quick Overview

This question evaluates skills in feature engineering, model selection, metric definition, and model evaluation for a recommendation problem using logistic regression, with emphasis on behavioral, demographic, social and item features.

  • medium
  • Meta
  • Machine Learning
  • Data Scientist

Develop a Restaurant-Recommendation Engine with Logistic Regression

Company: Meta

Role: Data Scientist

Category: Machine Learning

Difficulty: medium

Interview Round: Technical Screen

##### Scenario Designing a restaurant-recommendation engine for a social app. ##### Question What business goal and engagement metrics would you track for restaurant recommendations? Which behavioral, demographic and social features would you include in the model and why? Which model would you choose? Explain why logistic regression may be appropriate. How would you evaluate whether the logistic-regression model is accurate? Define precision, recall and accuracy, give their formulas, and explain which you would prioritize here. ##### Hints Define target clearly, discuss feature–label alignment, and link evaluation metric to business goal.

Quick Answer: This question evaluates skills in feature engineering, model selection, metric definition, and model evaluation for a recommendation problem using logistic regression, with emphasis on behavioral, demographic, social and item features.

Related Interview Questions

  • Implement 1NN Embeddings and Forward Pass - Meta (hard)
  • Design and evaluate an ads ranking algorithm - Meta (easy)
  • How would you design a Shop Ads ranking algorithm? - Meta (easy)
  • Derive Linear Regression Solution - Meta (medium)
  • Explain key ML metrics and techniques - Meta (medium)
Meta logo
Meta
Jul 12, 2025, 6:59 PM
Data Scientist
Technical Screen
Machine Learning
106
0

Restaurant Recommendation Engine: Metrics, Features, Model, and Evaluation

Scenario

You are designing a restaurant recommendation engine for a social app.

Task

  1. Define the primary business goal for restaurant recommendations and list key engagement/product metrics you would track.
  2. Specify which features you would include in the model and why. Cover behavioral, demographic, and social features (you may add context and item features if useful).
  3. Choose a modeling approach. Explain why logistic regression may be appropriate.
  4. Describe how you would evaluate whether the logistic-regression model is accurate.
  5. Define precision, recall, and accuracy; provide their formulas; state which metric(s) you would prioritize for this use case and why.

Hint: Define the target clearly, ensure features are aligned with the label (no leakage), and link the evaluation metric to the business goal.

Solution

Show

Submit Your Answer to Earn 20XP

Sign in to leave a comment

Loading comments...

Browse More Questions

More Machine Learning•More Meta•More Data Scientist•Meta Data Scientist•Meta Machine Learning•Data Scientist Machine Learning
PracHub

Master your tech interviews with 8,000+ 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
  • Compare Platforms
  • Discord Community

Support

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

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.