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
"Hierarchical Text Classification"
Hi,
I am planning to do a hierarchical classification using a top-down approach. My idea of the top-down approach is to first classify the exampleset using the top classes, then filter the examples of each top class and apply another classification using the top class' subclasses.
Here is an example procedure:
1. generate exampleset
2. classify into class X, Y or Z
3. filter examples of predicted X class
4. classify X examples into subclass X1, X2 or X3
... iterate the other top classes
9. merge the filtered examples into one exampleset.
10. end
I was about to start building the process when I realize that using the modelapplier requires also to apply the training word list to the exampleset. That means I need to have as many training word list as the models. How do I load the other training word lists? I know that the first training word list can loaded in the TextInput operator. But how about the other word lists?
Or is there a better way of doing this in RM?
thanks in advance.
Matthew
I am planning to do a hierarchical classification using a top-down approach. My idea of the top-down approach is to first classify the exampleset using the top classes, then filter the examples of each top class and apply another classification using the top class' subclasses.
Here is an example procedure:
1. generate exampleset
2. classify into class X, Y or Z
3. filter examples of predicted X class
4. classify X examples into subclass X1, X2 or X3
... iterate the other top classes
9. merge the filtered examples into one exampleset.
10. end
I was about to start building the process when I realize that using the modelapplier requires also to apply the training word list to the exampleset. That means I need to have as many training word list as the models. How do I load the other training word lists? I know that the first training word list can loaded in the TextInput operator. But how about the other word lists?
Or is there a better way of doing this in RM?
thanks in advance.
Matthew
Tagged:
0
Answers
why don't you use always the same wordlist built over the complete corpus?
Greetings,
Sebastian
If I understand correctly, I can use the wordlist built from the original exampleset, and then apply the different models subsequently without needing to load new wordlist:
- TextInput <--- load the wordlist
- Apply ModelXYZ
- Filter X
- Apply ModelX1X2X3
etc
Is this correct?
thanks
Matthew
Greetings,
Sebastian
of course you can do that, or, if you want to have more control, first use e.g. the Generate Attributes operator to combine 1 and 2, and 4 and 5, then train a classifier to separate 1_2 from 4_5 and pass the data then to the next, more fine-grained classifiers.
Best regards,
Marius