Model not training at all when using package #1187
-
Hey all, For my own feature extraction method I want to use a package that can detect proper nouns in a text. This feature is very useful for what I am trying to achieve, which is text classification of emails. However, when using this feature within ASReview the model doesn't learn and always predicts the same class for everything. For the feature I am using the averaged pereceptron tagger from the NLTK package link. The code below is what I am using to import the function:
The rest of the code can be found here. I'm quite lost as to why this is happening, so any idea on what could be the cause of this would be very helpful. Note that I am manually extracting the models each time from the ASReview package using the following snippet of code that is placed within here
Thanks in advance for the help, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Hey Micha,
Are you saying that the POS tagger predicts the same label all the time? Or does ASReview present you with the same record everytime when you use this feature matrix? |
Beta Was this translation helpful? Give feedback.
Hey Micha,
Just to get the picture clear, if I understand what you are saying correctly, you are doing two things:
Are you saying that the POS tagger predicts the same label all the time? Or does ASReview present you with the same record everytime when you use this feature matrix?