# AI-900: Predicting Bicycle Use Based on Distance

Learn how to answer a common AI-900 exam question about predicting whether someone uses a bicycle to travel to work based on the distance from home to work. Understand the difference between classification, regression, and clustering.

## Question

Predicting whether someone uses a bicycle to travel to work based on the distance from home to work is a use case for?

A. Regression
B. Clustering
C. Classification

C. Classification

## Explanation

Classification is a supervised machine learning technique used to predict categories or classes.

The correct answer is C. Classification.

Classification is a type of supervised learning, where the model is trained to predict a discrete label or category for a given input. For example, predicting whether an email is spam or not, or whether a customer will buy a product or not, are classification problems.

In this case, predicting whether someone uses a bicycle to travel to work based on the distance from home to work is also a classification problem, because the output is a binary label: either yes or no. The model can learn from the historical data of people who use or do not use bicycles, and their distances from home to work, and then apply the learned rules to new data.

Regression, on the other hand, is a type of supervised learning where the model is trained to predict a continuous numerical value for a given input. For example, predicting the price of a house based on its size and location, or predicting the temperature of a city based on its latitude and longitude, are regression problems.

Clustering is a type of unsupervised learning, where the model is not given any labels or categories, but instead tries to find patterns or groups in the data based on some similarity or distance measure. For example, finding customer segments based on their purchase behavior, or finding clusters of similar images based on their pixels, are clustering problems.

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