Examveda
Examveda

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

C. 3

D. 4

Answer: Option B

Solution(By Examveda Team)

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.

This Question Belongs to Computer Science >> Machine Learning

Join The Discussion

Related Questions on Machine Learning