К содержанию
Вся база

Product Analyst/DS

14 вопросов · 41 мин · техническое · сложность средняя · США

00:0041:26

Запись — после входа.

О чём разговор

Passenger churn model: labels, features, boosting, overfitting, metric and threshold

Этапы

  1. 1Техническое
  2. 2Кейс

Все вопросы

  1. 07:17

    How are you going to come up with the labels, and are you going to treat it as a binary classification or a regression?

    Технический
  2. 08:26

    How would you get that label, if the dataset does not directly have it?

    Технический
  3. 10:48

    With these three different labels, how do you approach it, and will you have a binary classifier for each label?

    Кейс
  4. 12:56

    Do you see any potential limitations or issues with this approach?

    Кейс
  5. 21:55

    Maybe we can talk a little bit about how you would split your dataset.

    Технический
  6. 23:06

    Can you elaborate a bit on why we do time-based splits and not random splits?

    Технический
  7. 25:37

    If one of the features is ride type, which is categorical, is that something we can pass to a logistic regression model?

    Технический
  8. 26:12

    Can you tell me at a high level how boosting works?

    Технический
  9. 29:37

    What metrics are usually used to determine whether a split is good at the node level?

    Технический
  10. 30:33

    How would you diagnose it if the model performs well on the training set but poorly on the test set, and what does that mean to you?

    Технический
  11. 31:52

    What metrics would you look at for this problem?

    Технический
  12. 32:55

    With a limited budget for coupons, what do you think would be a good metric to use?

    Кейс
  13. 34:15

    Is a false positive, a $5 coupon given to the wrong passenger, costlier than not correctly capturing the passenger who is going to churn?

    Кейс
  14. 35:52

    What can we do with our existing trained model to optimize for recall?

    Технический

Ключевые моменты

  1. 02:42

    Case setup: passenger churn

  2. 12:56

    Three models or one: limits of the approach

  3. 26:12

    Explaining gradient boosting

  4. 30:33

    Overfitting: diagnosis and remedies

  5. 34:15

    Choosing recall: a lost passenger costs more than a coupon

Отрывок из разговора

34:15
Interviewer

I think that makes sense. The logic is definitely sound. But let's say we made, like we committed the false positive. And let's say we provided like $5 for a coupon to the wrong passenger. Is that costlier than not correctly capturing the p

34:45
Candidate

Good question. Good question. Let me think a little bit. I understand the question. I understand the question. Just trying to structure my mind between recalling a season false positive and false negative. So, okay, so losing a passenger, r

35:52
Interviewer

perfect okay um that makes sense i think maybe the last question that i have like for this case study is like we want to optimize for recall um what can we do like with our existing trained model to like optimize for recall okay

36:29
Candidate

we can simply adjust like you mean like with the training obviously without retraining we can simply adjust the decision threshold that that there will be like the first optimization yeah

Что вынести

Technical ML interview at Lyft in a case-study format: predicting passenger churn one, two and three weeks after a ride. The candidate was assessed on how they defined labels and features, the choice of model and data split, diagnosing overfitting, and picking a metric that accounts for coupon costs. The interviewer said the candidate answered most questions well; the outcome was not announced.

Разбор собран по записи разговора.

Расшифровка

00:00
Interviewer

in machine learning and then we are going to be working on a case study of like any problem we work on at Lyft and then hopefully that will take like 35 to 40 minutes and then the last few minutes we can research them for any questions that you have. Does that sound good? Yeah sounds great. Perfect. So to get started, a little bit about me. I'm a data scientist at the integrity team. I've been with Lyft for a little bit over a year and my main focus has been on building machine-bearing models to detect users that are abusing our platform, whether it's like faking their location to gain some advantage or basically using like fake accounts or fake documents are colluding with the ideas. So that's kind of a highlight a bit about me,

00:55
Candidate

I would love to learn a bit more about you. Yeah sure, I will also provide a very high level overview of my experience so we can save time and at the end of the interview if we will have time we can talk more. So basically as a senior data scientist I had two significant projects. The The first one was a B2B portal where medical professionals can order medical equipment. And there I built end-to-end recommendation systems that provided personal recommendations to the consumers. That system basically helped to increase overall revenue for a few millions annually. My second project as a senior data scientist was an app that can help users to find the eardrum and ear canal and analyze the video and tells users there is infection or not infection and this is how users buy telemedicine consultations. So on company, this is the name of the app, I built two machine learning pipelines. One pipeline helps users to find their eardrum. It's basically an image recognition neural network. And the second one is also image recognition neural networks that analyze the video and tell the user there is infection or not infection. There was also LLM-pigetic triage of output of the second machine, machine learning pipeline,

02:26
Candidate

which basically we provide like in a human language user. Okay, so it's probably infection. It's like we are not 100% confident, but you probably should buy the consultation from this telemedicine provider. our app has a 10-medicine provider so that's a very high level overview.

02:42
Interviewer

Thank you for providing that overview and we definitely have a lot of applications of like deep neural networks and more recently of course like LLMS and the HMTKI is becoming a big thing. So we can get started like with the second stage which is like going through the case study. Sure. So I am going to share a document with you that will basically outline what the problem is what kind of data you have but before I do that just to give you like a quick description so what we want to do is build a model that can predict whether passengers are going to churn after completing a ride so what we mean by churn is basically we expect that the passenger is going to stop using lift when you define time period so this is a high-level description I'm going to share a document in that chat. And that should give you more detail into the problem and the data. And if you're not able to access, let me know how to grant you access.

03:52
Candidate

Yeah, I just requested the access.

04:02
Interviewer

OK, you should be able to access it now. Mm-hm.

04:07
Candidate

okay let's see uh we have uh task input and output okay let me let me go through it okay just want to be sure that that i understand everything yes take your time you know there are any questions sure Alright, Churned Passenger, we're asking the data to develop and multiply the Passenger will be churned. You're given data frame, requested rider with the following schema. So we have PassengerID, RiderID, RiderTowerRequestedRider. So we have timestamp location. Okay. Each row of the data frame responds to a write, request passenger ID. If write is requested and fails to be completed, certain columns are populated with null. If the passenger does not read the driver and add the write, the value of certain fields such as output we would like. We would like you to predict whether each passenger will be churned

Дальше — после входа. Это бесплатно и займёт минуту.

Войти и читать

Похожие собеседования

Lyft

Product Analyst/DS

Запись — после входа1:01:54Скрининг

Active rider drop, coupon targeting, A/B test design, commute probabilities, coupon ROI

Вопрос03:22

Monthly active riders dropped 7% month over month. How would you analyze and investigate this issue to understand what's going on?

  • product analytics
  • conversion funnel
  • A/B tests
Английский

Lyft

Product Analyst/DS

Запись — после входа47:35Кейс

Rider experience metrics, trip funnel, ETA target, driver incentives, external factors

Вопрос13:22

How would you structure an approach to identify the right rider experience metrics and set a numerical target for each, and what core experiences would you consider?

  • Product case
  • Marketplace metrics
  • Trip funnel
Английский

Lyft

Product Analyst/DS

Запись — после входа46:05Лайв-кодинг

Stratified k-fold split, uneven label counts, shuffling, edge cases, Big-O complexity

Вопрос03:58

If you would like to briefly introduce yourself, then we can jump into that.

  • Python
  • k-fold cross-validation
  • stratified sampling
Английский

USPIO

Product Analyst/DS

Запись — после входа39:00С руководителем

Метрики, антифрод, дисбаланс классов, отбор фичей, разбор проекта-факапа, SMS-платформа

Вопрос01:21

Расскажи о своём опыте, используемых инструментах, подходах, процессах и взаимодействии с командой и стейкхолдерами.

  • Метрики классификации
  • Антифрод
  • Дисбаланс классов
Русский$6 000/ мес