August 15, 2023

Calculating the weight of a word in each message – Docs for ESB 6.x

Calculating the weight of a word in each message

  1. Double-click the tModelEncoder component
    labelled tf to open its Component view.

    use_case-trandomforestmodel6.png

  2. Repeat the operations described previously over the tModelEncoder labelled Tokenizer to add the sms_tf_vect column of the Vector type to the output schema and define the
    transformation as displayed in the image above.

    use_case-trandomforestmodel7.png

    In this transformation, tModelEncoder
    uses HashingTF to convert the already
    tokenized SMS messages into fixed-length (15 in this scenario) feature vectors to reflect the importance
    of a word in each SMS message.

Document get from Talend https://help.talend.com
Thank you for watching.
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x