A city wants to forecast air pollutant concentrations (parts per million) for the next two days using only daily observations from the past year. For this prototype in Amazon SageMaker, which algorithm is most likely to give the best forecasting performance?
Choose an answer
Tap an option to check your answer.
Correct answer: Use SageMaker Linear Learner on the single time series (one year) with predictor_type set to regressor..
Why this is the answer
The Linear Learner algorithm is suitable for regression tasks, which aligns with forecasting pollutant concentrations (a continuous value). Setting predictortype to regressor correctly configures the model for this purpose. While kNN can be used for regression, Linear Learner is often more efficient and robust for time series forecasting when linearity can be assumed or approximated. Random Cut Forest is primarily an anomaly detection algorithm, not designed for forecasting. Using Linear Learner with predictortype set to classifier would be incorrect as it would attempt to predict discrete classes rather than continuous values.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed