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
Answer
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.