Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.
"How to get/set the vector of a text?"
Hi,
I want to get the vector (e.g., tf-idf) of a text , refine this vector, and then replace the original vector with the refined one. Is it ok by RM?
TextInput is able to provide a file containing the frequency information. Of course, we could calculate the tf-idf based on this file by ourselves, and get a new vector of tf-idf. Then, how to replace the original vector with this new vector?
Sincerely yours
gfyang
I want to get the vector (e.g., tf-idf) of a text , refine this vector, and then replace the original vector with the refined one. Is it ok by RM?
TextInput is able to provide a file containing the frequency information. Of course, we could calculate the tf-idf based on this file by ourselves, and get a new vector of tf-idf. Then, how to replace the original vector with this new vector?
Sincerely yours
gfyang
Tagged:
0
Answers
A text vector is just an example in the ExampleSet, and changing the values in an example will change the corresponding text vector.
the text input operators will store the text vectors in an exampleset as example. So after they finished everything is just a normal example and you might do whatever you want to to on it...
Greetings,
 Sebastian