Skip to main content
All Questions

Given temperature histories for NYC and many small towns, find the most volatile town and the town most like NYC, then predict NYC from the towns with greedy feature selection.

Unlock detailed company stats for this questionUpgrade
You have historical temperature series for New York City and for many small towns. (1) Which town's temperature fluctuates the most? (2) Which town is most similar to NYC? (3) Predict NYC's temperature from the towns' data and score the prediction by mean squared error. (4) Select features greedily: at each step add the town that reduces the error the most, until a given number of towns is in the model.

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.