I am trying to extract the feature from my raw data.
My raw data is a Seq[String]
.
I want to turn this into a OneHot
encoding with several 1
instead of only one but it seems that the spark ml https://spark.apache.org/docs/latest/ml-features.html#onehotencoderestimator is only accepting a single String
as input.
Maybe I am blind, but I can't seem to find one which accept a list of string.
Thank you.