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
Sentiment Analysis
text_mining
Member Posts: 1 Learner III
Hi,
I'm trying to find sentiment of a sentence as positive, negative mediocre, etc.. This is what I'm doing - (I have a test file with labeled data)..
Read CSV --> Process Documents (transform case --> tokenize-->stopword-->stemming-->N-gram) --> Cross Validation (Naive Bayes --> Apply Model --> Performance classification).
I'm getting accuracy and recall, but I'm getting infinite cross entropy and logistic loss.. I need to find the probability of sentence, given the category => p(sentence/category) which in fact is used to calculate cross entropy and log loss.. Any idea of what I must do to get the probability distribution, cross entropy and log loss??
Thanks, any help is greatly appreciated...
I'm trying to find sentiment of a sentence as positive, negative mediocre, etc.. This is what I'm doing - (I have a test file with labeled data)..
Read CSV --> Process Documents (transform case --> tokenize-->stopword-->stemming-->N-gram) --> Cross Validation (Naive Bayes --> Apply Model --> Performance classification).
I'm getting accuracy and recall, but I'm getting infinite cross entropy and logistic loss.. I need to find the probability of sentence, given the category => p(sentence/category) which in fact is used to calculate cross entropy and log loss.. Any idea of what I must do to get the probability distribution, cross entropy and log loss??
Thanks, any help is greatly appreciated...
Tagged:
0