The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
N-grams do not sort in ascending/descending order
Vincent_de_Vrie
Member Posts: 3 Learner III
Hello,
I have got an exampleset that was converted to a wordslist with the process documents from data operator to count the term and document occurrences of my dataset. I also have a duiplicate of this process that generates n-grams. Now, the actual wordlist that has no n-grams can be sorted in ascending/descending order when clicking on the attribute column like "term occurrences" or "document occurrences", however this does not work on the result that contains the n-grams. Does anyone know why the results with the n-grams cannot be sorted?
0
Answers
@Vincent_de_Vrie You're making it really hard to visualize. Can you post screenshots, your process XML, and sample data?
Hello Thomas,
Thanks for your response. I am basically trying to use a very simple function of the rapidminer results tab, which is clicking on the header of an attribute to make it sort in descending/ascending order. In this case I try to sort an amount of bigrams I created (see xml for process). However, clicking on the header of the attributes (see screenshots) does not do anything at all. I am wondering why this is, because now I have to export my exampleset to an excel and use the excel "smallest to largest" function to sort the bigrams.
I hope this clarifies some things. I am sorry but I cant provide you with the sample data since it is classified, but the data is actually just text.
@Vincent_de_Vrie I ran a modified version of this process using a Search Twitter operator and being able to sort Wordlist coming out of the WordList to Data operator works for me. Are you running a Mac? Might be a Mac thing since I'm on Windows.
Also, you can save the effort of saving to an XLS to sort. You can just use the Sort operator and select which attribute you want to sort.
Hello Thomas,
I am also running on a Windows, perhaps the problem lies with my input data. I am not able to sort the exampleset coming from the wordlist to data operator nor the wordlist coming from this operator. I tried the sort operator but I am not able to select any atttribute from the attribute name field. Do you know why my example set does not seem to contain any attributes that are selectable within the sort operator (see screenshot)? While there actually are the attributes: Row.no, word, in documents and total within the exampleset, as can be seen in the result tab (see screenshot in my previous reply).
@Vincent_de_Vrie Lately there's been some wierd metadata propogation problems (tagging @sgenzer), the solution to that problem is toggling on the "Snyc Metadata with Real Data" option in the Process pull down menu. Then run the process, let it error out, and then the meta data will be available.
hi yes there are a few metadata propagation "oddities" that I believe are going to be sorted out in Studio 8.2. If you have a replicable process that can illustrate this, please post in Product Feedback and I will pass along.
Scott