You may also find VectorSlicer and SQLTransformer useful in your case. Just
out of curiosity, how would you typically handles categorical features,
except for OneHotEncoder.
Regards,
Yuhao
2016-07-01 4:00 GMT-07:00 Yanbo Liang :
> You can combine the columns which are need to be normalized into
You can combine the columns which are need to be normalized into a vector
by VectorAssembler and do normalization on it.
Do another assembling for columns should not be normalized. At last, you
can assemble the two vector into one vector as the feature column and feed
it into model training.
Thank