# AI-900: Forecasting Sea Levels with Regression Models in Machine Learning

Certain AI tasks demand numeric predictions rather than classifications. Learn when and how to apply regression algorithms to forecast continuous values like future sea levels.

## Question

You need to predict the sea level in meters for the next 10 years. Which type of machine learning should you use?

A. classification
B. regression
C. clustering

B. regression

## Explanation

The correct answer is B. regression.

Regression is a type of supervised machine learning that is used to predict numeric values, such as sea level, temperature, sales, etc. Regression models learn the relationship between input features and a continuous target variable, and then use this relationship to make predictions on new data.

Classification is another type of supervised machine learning that is used to predict categorical values, such as labels, classes, categories, etc. Classification models learn the relationship between input features and a discrete target variable, and then use this relationship to assign a class to new data.

Clustering is a type of unsupervised machine learning that is used to discover groups of similar data points, without using any labels or target variables. Clustering models learn the structure and patterns in the data, and then use this structure to assign a cluster to new data.

In this scenario, the task is to predict the sea level in meters for the next 10 years, which is a numeric value. Therefore, regression is the most suitable type of machine learning to use. You can use various regression models in Azure Machine Learning designer, such as Linear Regression, Neural Network Regression, or Boosted Decision Tree Regression.

In the most basic sense, regression refers to prediction of a numeric target.
Linear regression attempts to establish a linear relationship between one or more independent variables and a numeric outcome, or dependent variable.
You use this module to define a linear regression method, and then train a model using a labeled dataset.
The trained model can then be used to make predictions.

## References

Microsoft Docs > Previous Versions > Module Categories and Descriptions > Machine Learning Modules > Initialize Model > Regression > Linear Regression

Microsoft Azure AI Fundamentals AI-900 certification exam practice question and answer (Q&A) dump with detail explanation and reference available free, helpful to pass the Microsoft Azure AI Fundamentals AI-900 exam and earn Microsoft Azure AI Fundamentals AI-900 certification.

### Alex Lim

Alex Lim is a certified IT Technical Support Architect with over 15 years of experience in designing, implementing, and troubleshooting complex IT systems and networks. He has worked for leading IT companies, such as Microsoft, IBM, and Cisco, providing technical support and solutions to clients across various industries and sectors. Alex has a bachelor’s degree in computer science from the National University of Singapore and a master’s degree in information security from the Massachusetts Institute of Technology. He is also the author of several best-selling books on IT technical support, such as The IT Technical Support Handbook and Troubleshooting IT Systems and Networks. Alex lives in Bandar, Johore, Malaysia with his wife and two chilrdren. You can reach him at [email protected] or follow him on Website | Twitter | Facebook