Vidyalelo
Machine Learning · Q30

Machine Learning

Computer Related · Machine Learning · question 30

Q30

In many classification problems, the target dataset is made up of categorical labels which cannot immediately be processed by any algorithm. An encoding is needed and scikit-learn offers at least . . . . . . . . valid options

A.
1
B.
2
Answer
C.
3
D.
4

Answer: Option B

Solution

Answer: Option B
Solution:
In many classification problems, the target dataset consists of categorical labels that cannot be directly processed by machine learning algorithms. Therefore, encoding techniques are needed to convert categorical labels into a numerical format that algorithms can handle. Scikit-learn offers at least two valid options for encoding categorical labels: Label Encoding and One-Hot Encoding.
Therefore, the correct answer is Option B: 2.