Skip to main content
All Questions

Given bike-sharing data, how would you build a model to predict the rental price?

Unlock detailed company stats for this questionUpgrade
You are given bike-sharing (rental) data and asked to build a model that predicts the rental price. Which variables do you think affect the price? How would you engineer features, handle missing data and outliers, and treat special periods such as COVID? Which model would you choose, for example linear regression or a random forest, and what are the assumptions, advantages and drawbacks of each? In a linear regression, how would you deal with heteroskedasticity, multicollinearity and seasonality? How would you split the data into training, validation and test sets, and which evaluation metric would you use (accuracy, MSE, MAE or ROC AUC)?

Community answers

No answers contributed by the community yet.

Related courses

Course

SQL Interview Prep Course

Prepare for SQL interviews with lessons on joins, aggregations, and window functions, then practice real SQL interview questions in an interactive editor with expert solutions.

Course

Data Science Interview Prep

Land your dream data science role at Google, Amazon, Microsoft, Meta, Apple, and other top companies. Learn from mock interviews, frameworks, and advice from senior candidates. Practice statistics, experimentation, coding, SQL, machine learning, behavioral interviews, and more.