Vidyalelo
Computer Science · Q327

Machine Learning

Engineering and GATE · Computer Science · question 327

Q327

In which of the following each categorical label is first turned into a positive integer and then transformed into a vector where only one feature is 1 while all the others are 0.

A.
labelencoder class
B.
dictvectorizer
C.
labelbinarizer class
Answer
D.
featurehasher

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board