Skip to main content

Table 4 Number of positive and negative sentiment when data re-sampling

From: Sentiment analysis for cruises in Saudi Arabia on social media platforms using machine learning algorithms

Platforms

Number of positive (y)

Number of negative (x)

Instagram

Imbalance

342

172

Over-sampling

342

342

Under-sampling

170

170

Snapchat

Imbalance

256

28

Over-sampling

256

256

Under-sampling

28

28

Twitter

Imbalance

260

202

Over-sampling

260

260

Under-sampling

200

202