Options

# How to visualize data distribution of texts

Hi, I've a dataset of twitter comments containing only the attributes "text" and "sentiment" (negative and positive). How can I visualize the data distribution with a scatter-plot? I suppose I need some other attributes to build the scatter plot, but I don't know what to calculate. I calculated the polarity and subjectivity with textblob and vader and use the polarity attribute as value for the x assis, and the subjectivity for the y assis, but I don't know if it is correct.

Besides, Vader calculated for some negative comments a positive polarity (>0) and a negative polarity (<0) for some positive comments, so the data distribution looks non-linear and I don't know if it is correct or not.

My teacher wants me to plot the dataset so we can see whether the distribution is linear or not and understando which classification model fits this distribution.

Hope someone can help me. Thank you.

Besides, Vader calculated for some negative comments a positive polarity (>0) and a negative polarity (<0) for some positive comments, so the data distribution looks non-linear and I don't know if it is correct or not.

My teacher wants me to plot the dataset so we can see whether the distribution is linear or not and understando which classification model fits this distribution.

Hope someone can help me. Thank you.

0

## Answers

8Contributor IIKind Regards

Vivek Garg

React Native