Which of the following is a valid technique to handle high-cardinality categorical features?
-
A
One-hot encoding all unique values
-
B
Target encoding with cross-validation
-
C
Treating every category as an independent binary feature
-
D
Applying PCA to the raw strings