Back to problems

Prediction task

Algorithm · Two Sigma · Medium

A weather archive holds daily records. For each day it stores the temperature logged in each of several nearby towns, together with the temperature that was logged in New York City on that same day. Treat the town readings as the inputs to a model and the New York City reading as the quantity to be predicted. Write a solution that fits a regression model on a set of training days, then applies that fitted model to every day of a separate held-out set, producing a predicted…

Checking your access…