Double-click the tModelEncoder component labelled features_assembler to open its Component view.
Repeat the operations described previously over the tModelEncoder labelled Tokenizer to add the features_vect column of the Vector type to the output schema and define the
transformation as displayed in the image above.
Note that the parameter to be put in the Parameters column is inputCols=sms_tf_idf_vect,num_currency,num_numeric,num_exclamation.
In this transformation, tModelEncoder
combines all feature vectors into one single feature column.
Did this page help you?
If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!