exam questions

Exam AI-900 All Questions

View all questions & answers for the AI-900 exam

Exam AI-900 topic 1 question 69 discussion

Actual exam question from Microsoft's AI-900
Question #: 69
Topic #: 1
[All AI-900 Questions]

HOTSPOT -
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
Box 1: Yes -
For regression problems, the label column must contain numeric data that represents the response variable. Ideally the numeric data represents a continuous scale.

Box 2: No -

K-Means Clustering -
Because the K-means algorithm is an unsupervised learning method, a label column is optional.
If your data includes a label, you can use the label values to guide selection of the clusters and optimize the model.
If your data has no label, the algorithm creates clusters representing possible categories, based solely on the data.

Box 3: No -
For classification problems, the label column must contain either categorical values or discrete values. Some examples might be a yes/no rating, a disease classification code or name, or an income group. If you pick a noncategorical column, the component will return an error during training.
Reference:
https://docs.microsoft.com/en-us/azure/machine-learning/component-reference/train-model https://docs.microsoft.com/en-us/azure/machine-learning/component-reference/k-means-clustering

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
XtraWest
Highly Voted 2 years, 1 month ago
Y - must be numeric for regression N - labels are not required N - may or may not be numeric, not must
upvoted 20 times
...
lphan911
Highly Voted 2 years, 7 months ago
C) For the classification, labels must be numeric. Why No? Labels must be a number, even if it's just categorical values 0,1,2. If we have classified labels like YES/ NO, we still have to convert them into numbers, it's called label encoding, right?
upvoted 6 times
Demonz
2 years, 6 months ago
The answer is correct. Numeric variable is different from categorical variable. What you mentioned is categorical variable.
upvoted 7 times
SweetChilliPhilly
1 year, 10 months ago
I made a simple gender predictor (binary classification) in python with scikitlearn and I had to encode both the labels and features into numeric vaules. I was unable to get it working with categorial variables. I think some training algorithms might support non numeric training data but the simple scikitlearn one I was using didn't.
upvoted 1 times
...
vhogstad
2 years, 2 months ago
So the the answers on this question shoul be : YES NO YES ?
upvoted 1 times
BobFar
9 months, 1 week ago
Y - must be numeric for regression N - labels are not required N - may or may not be numeric, not must
upvoted 3 times
...
...
...
rdemontis
1 year, 11 months ago
the sentence says: for a classification model labels MUST be numeric! It exclude non numeric labels and of course it's wrong. So the given answer is correct
upvoted 3 times
...
...
kd333200
Most Recent 1 year, 6 months ago
--For a regression model, labels must be numeric. Yes. This statement is accurate. In a regression model, the labels (target variable) must be numeric because regression aims to predict a continuous numerical value. --For a clustering model, labels must be used. No. This statement is not accurate. Clustering is an unsupervised learning technique that doesn't require predefined labels. It groups data based on similarity without using known labels. --For a classification model, labels must be numeric. Yes. This statement is generally accurate. In a classification model, the labels represent different classes or categories, and they are typically assigned numeric values (e.g., 0, 1, 2) to represent the classes. However, in some cases, categorical labels may also be used, but they are often encoded into numeric values for modeling.
upvoted 2 times
THC1138
10 months, 2 weeks ago
so if categorical labels may be used, then the labels in that case aren't numeric. So No. It's not asking what generally the case is.
upvoted 2 times
...
...
beonsoft
1 year, 10 months ago
N,N,N regression: features must be numeric, not labels
upvoted 1 times
rafcio1990
11 months, 3 weeks ago
Sorry, but you should expand your knowledge and then go back here.
upvoted 2 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago