Prepfully logo
  • Browse Coaches
  • Login
BetaTry Out Our New AI Mock Interviewer – Your Smartest Way to Ace Any Interview!Try Our AI Mock Interviewer
Try Now
NewRegister as a coach and get a $100 bonus on your first completed session if you're on the Prepfully Request for Coaches list.Coach $100 Bonus
Read More
LimitedSummer Deal: Heavy discounts on all Prepfully sessions.Summer Deal: Discounts
Book Now

Your AI Wingman for your next interview

The most comprehensive bank Interview Answer Review tooling available online.

Cutting-edge AI technology meets personalized feedback. Improve your interview answers with insightful guidance provided by a model trained against more than a million human-labelled interview answers.
  • Company rubrics
  • Role-level optimisations
  • Trained on 1mil+ answers
Behavioral
7 months ago
What are you looking for, from the Frontend Engineer role at Mapbox - what are some of your key goals from this opportunity?
Frontend Engineer

Mapbox

Get answer reviewed by AI
7 months ago
Behavioral
7 months ago
What are your career goals over the next five years? How does Mapbox fit into your overall vision?
Software Engineer

Mapbox

Get answer reviewed by AI
7 months ago
Behavioral
7 months ago
In what ways would you measure success?
Software EngineerData ScientistFull Stack Software EngineerProgram Manager

Mapbox

Faire

Databricks

+1

Success could be measured in multiple different factors. An engineer or a resource would be performing very well in the team, stupendous technically but their relationship with the team should also be desirable. They should be open to collaborate, have good relationship, trust with the team, help cross functional team for collaborating with multiple business teams. Should be able to understand the problem providing right solution at right time, mentoring others in the team and always posses the ability to communicate with at most clarity. 

All of this is a 360 degree feedback that one could be considered successful working in an organisation.

Get answer reviewed by AI
7 months ago
Coding
7 months ago
Could you write a Python program to simulate Conway's Game of Life?
Machine Learning Engineer

Mapbox

Workday Logo

Workday

Cloudera Logo

Cloudera

Get answer reviewed by AI
7 months ago
ML Knowledge
7 months ago
What is log loss?
Machine Learning EngineerData Scientist

Mapbox

Datadog Logo

Datadog

DocuSign Logo

DocuSign

Yes, Log Loss is widely used for binary classification. In fact, it's one of the most common metrics for evaluating the performance of binary classifiers.How Log Loss Works in Binary Classification:
In binary classification, the target variable can take one of two values (0 or 1). The model generates a probability ppp for each instance, representing the likelihood that the instance belongs to class 1 (the positive class). Log Loss evaluates how well these predicted probabilities align with the actual labels.If the true label is 1, the log loss penalizes the model based on ppp, the predicted probability of class 1.
If the true label is 0, the log loss penalizes the model based on 1−p1 - p1−p, the predicted probability of class 0.
Log Loss Formula (for Binary Classification):
Log Loss=−1n∑i=1n[yi⋅log⁡(pi)+(1−yi)⋅log⁡(1−pi)]\text{Log Loss} = - \frac{1}{n} \sum_{i=1}^{n} \left[ y_i \cdot \log(p_i) + (1 - y_i) \cdot \log(1 - p_i) \right]Log Loss=−n1​i=1∑n​[yi​⋅log(pi​)+(1−yi​)⋅log(1−pi​)]Where:nnn is the total number of instances,
yiy_iyi​ is the actual label for instance iii (0 or 1),
pip_ipi​ is the predicted probability of instance iii belonging to class 1.
Key Points:
Predicted probabilities closer to 1 when the true label is 1, or closer to 0 when the true label is 0, will result in low log loss values.
Predicted probabilities far from the true label will yield high log loss values, penalizing the model heavily for being "confident" but wrong.
Perfect predictions (1 for class 1 and 0 for class 0) would result in a log loss of 0 (best possible score).
Why Use Log Loss for Binary Classification?
Probabilistic Output: It evaluates not just the predicted class (0 or 1) but also how confident the model is in its prediction by using the predicted probabilities.
Better than Accuracy: It provides a more nuanced evaluation than accuracy, especially when classes are imbalanced or when you care about the confidence of predictions.
Penalizes Overconfidence: Log Loss penalizes wrong predictions that are made with high confidence, which can help avoid overly confident models.
Example:
For binary classification, consider three instances:True LabelPredicted Probability of Class 110.900.210.6The model is fairly confident about the first and second instances, and the predictions are close to the actual labels, leading to a lower log loss.
For the third instance, the prediction is uncertain (0.6), but since the actual label is 1, the log loss would penalize this prediction, though not as harshly as it would if the model was confidently wrong.
Thus, Log Loss is a highly effective evaluation metric for binary classification when you care about both class prediction and the certainty with which the model makes those predictions.4o

You said:
is not pi is predicted class here like 1 or 0

ChatGPT said:
ChatGPTIn Log Loss, pip_ipi​ is not the predicted class (0 or 1), but the predicted probability that an instance belongs to class 1.To clarify:In binary classification, a model typically outputs a probability score between 0 and 1, representing the likelihood that the instance belongs to the positive class (class 1).
The predicted class is determined by applying a threshold (usually 0.5): if pi≥0.5p_i \geq 0.5pi​≥0.5, the instance is classified as 1 (positive); if pi<0.5p_i < 0.5pi​<0.5, it is classified as 0 (negative).
However, Log Loss uses the predicted probability pip_ipi​ directly, not the final predicted class. It evaluates how close the predicted probabilities are to the true labels.Breakdown:
If the true label yi=1y_i = 1yi​=1, Log Loss looks at pip_ipi​, which is the predicted probability of class 1.
If the true label yi=0y_i = 0yi​=0, Log Loss uses 1−pi1 - p_i1−pi​, which is the predicted probability of class 0.
Example:
True Label yiy_iyi​Predicted Probability pip_ipi​Predicted Class10.9100.2010.6100.40Even though the predicted class (based on a threshold like 0.5) is either 0 or 1, Log Loss uses the predicted probabilities (like 0.9, 0.2, 0.6, 0.4) in its calculation.Why Predicted Probabilities and Not Classes?
Log Loss is designed to evaluate the quality of the probability estimates. A model that gives a probability of 0.9 for class 1 is better than one that gives 0.6 for class 1, even though both would result in a predicted class of 1. Similarly, Log Loss heavily penalizes a model that gives a probability close to 1 for class 0 or close to 0 for class 1.In short, Log Loss assesses the model's certainty about its predictions rather than just its ability to classify correctly.4o

You’ve hit the Free plan limit for

Get answer reviewed by AI
7 months ago
Statistics
7 months ago
What do you think could be the reasons for the difference in conversion rates between the two groups in an A/B test?
Data Scientist

Mapbox

Dollar Shave Club Logo

Dollar Shave Club

Rivian Logo

Rivian

Get answer reviewed by AI
7 months ago
Behavioral
7 months ago
Please share your most innovative idea.
Full Stack Software EngineerML Engineering ManagerData Science ManagerData Engineering Manager

Mapbox

SPS Commerce Logo

SPS Commerce

Grover Logo

Grover

  1. Situation: Our cloud bill had been steadily increasing, but engineering teams lacked visibility into which workloads were driving the cost. Leadership wanted accountability, but SREs like me knew that finger-pointing wouldn’t solve anything without data.

  2. Task:I wanted to design a way to give each team ownership of their spend — without adding operational overhead — while also uncovering unused or over-provisioned infrastructure.

  3. Action:I built an internal “cost dashboard” that pulled billing data from our cloud provider’s API, tagged resources by team and environment, and visualized it by service, team, and project. But the innovative part was integrating it with our CI/CD workflows: before a PR deploying new infra could be merged, it would estimate the monthly cost impact. I also built a Slack bot that sent weekly team-level cost summaries and flagged idle resources.

  4. Result: Within two months, teams identified and shut down $8,000/month in unused dev resources. More importantly, it shifted the culture — infra cost became part of architectural discussions. Finance even started using our dashboard during quarterly planning instead of relying solely on billing exports.


Get answer reviewed by AI
7 months ago
Behavioral
8 months ago
Can you recall a situation that taught you a valuable lesson and how it has influenced your work since?
Engineering ManagerData Science Manager

Mapbox

SailPoint Logo

SailPoint

Practical Ignition Logo

Practical Ignition

Get answer reviewed by AI
8 months ago
Behavioral
8 months ago
I would like to hear about a time when you made a compromise
Data ScientistFull Stack Software EngineerProgram ManagerFrontend Engineer

Mapbox

Zscaler Logo

Zscaler

ETRADE Logo

ETRADE

+2

At Auctane, I had a senior dev working on tech debt, this was critical for some small segment of customers and my PM was looking forward to it being devliered. A churn happend on other team and they had a higher priority project. That EM approaced me to help him deliver the project. I had to reshffle the resource and had to push back on the timing for this tech debt project . The compramise I made was to put hold the project we had been working and convince my PM that this was most optimal approach for the company.

Get answer reviewed by AI
8 months ago
Behavioral
8 months ago
How did you come up with the most innovative idea you've ever come up with? How did you implement it?
Software EngineerData Engineering ManagerEngineering ManagerUX Designer

Mapbox

NetApp Logo

NetApp

Bill.com Logo

Bill.com

+7

When I joined my new team , I took lead on a new project which was complex in nature, had many unknowns and our team had to work on new framework, techstack, data models. The team was following agile methodology and will start with the work in first sprint. there was no concept of zero sprint or story grooming prior to the start of first sprint.

with the existing approach I envisioned some issues:

1. Because the number of unknown were high, the chances of doing wrong estimations for development were high.

2. There were high chances that the prioritisation is not right and we might have to revisit the features again and again.

3.  We might find out about unknowns while we are in the development process and that might cause delays.

To overcome these issues, I suggested some changes in our approach:

1. Increase the planning for one more release cycle and group the features as now, next and later.

2. For the features planned in the now group , prioritise them for the next release and complete the research and PRDs for them one sprint early. That means dev and QA will have 2 weeks extra to go through the stories, find out the dependencies and share the feedback. This helped in identifying if we need POCs for any feature or we can right away start developing them. Or if further modularisation is required.

3. I suggested to track the features related to new project in a different group, because to begin with the pace of the delivery will be slow.

When we begin, we took one complete release only in the RnD and understanding the new framework and doing small POCs to validate our understanding.

From second release, when we as a team were ready with good understanding on the expectations and other tech dependencies we started delivering and we could complete 2 full flows from end to end.

We had very less amount of spillover and could complete almost everything in the backlog, which was a big issue in earlier releases.

Get answer reviewed by AI
8 months ago

Try Free AI Interview

Mapbox logo

Mapbox

Software Engineer

Prepare for Behavioral interview at Mapbox

Behavioral
Mapbox logo

Mapbox

Product Manager

Prepare for Product Strategy interview at Mapbox

Product Strategy
Mapbox logo

Mapbox

Engineering Manager

Prepare for System Design interview at Mapbox

System Design
Mapbox logo

Mapbox

Data Scientist

Prepare for DS Analytical Execution interview at Mapbox

DS Analytical Execution

Question of the week

We'll send you a weekly question to practice for:

Showing 71 to 80 of 1052 results

Previous678910Next

*All interview questions are submitted by recent Mapbox candidates, labelled and categorized by Prepfully, and then published after verification by current and ex-Mapbox employees.

  • Company
  • FAQs
  • Contact Us
  • Become An Expert
  • Services
  • Practice Interviews
  • Interview Guides
  • Interview Questions
  • Watch Recorded Interviews
  • Gift sessions
  • AI Interview
  • Social
  • Twitter
  • Facebook
  • LinkedIn
  • YouTube
  • Legal
  • Terms & Conditions
  • Privacy Policy
  • Illustrations by Storyset

© 2025 Prepfully. All rights reserved.

Prepfully logo

Please log in to view more questions.

Not a member yet? Sign up for free.