Skip to main content Skip to complementary content

Combining feature vectors



  1. Double-click the tModelEncoder component labelled features_assembler to open its Component view.
  2. 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 – let us know how we can improve!