1 of 21

CHATBOT FILTER NEGATIVE WORD (SENTIMENT ANALYSIS NARENDRA MODI)

MAHINDRA IRVAN SAPUTRA

2 of 21

Education

MAHINDRA IRVAN SAPUTRA

Undergraduate Informatics – IWIMA (2025)

An effective learning strategy can be achieved by grouping students according to their performance levels, such as low-grade, mid-grade, and high-grade categories.

K-means Clustering Grouping Result Try out

P2P IT Perbankan PHP Laravel 12

A website designed to make credit easily accessible, helping people borrow money for business purposes

Working

Administration – Bimbel Citra Bhakti

Pertiwi

Overview Project

3 of 21

Problem Statement

4 of 21

The Problem

Public sentiment on social media often lacks filters when criticizing the government. When the season politic, many sentiment not truely fact and just opinion. Even, Narendra modi as Prime minister are often got subject to commentary.

The Solution

Develop a chatbot filter negative word that provides the general question of Narendra Modi’s government.

5 of 21

Data Understanding

6 of 21

Dataset Overview

    • Source : Twitter Sentiments Dataset - Mendeley Data
    • Size : +100000 rows
    • Target Variable : Category

7 of 21

Data Preprocessing

1. Handling Missing and Duplicates Values

2. Remove space, tag, characters, etc

3. Remove stop word NLTK

4. Feature Extraction TF IDF

5. SMOTE

8 of 21

Exploratory Data Analysis and Visualisations

9 of 21

the 50 word the most appears in twitter Dataset

Wordcloud

10 of 21

Tools

11 of 21

12 of 21

Pipeline

13 of 21

14 of 21

System Diagram

15 of 21

16 of 21

Model and Evaluation

17 of 21

Model used

    • Logistic Regression
    • Naive Bayes
    • KNN Classifier
    • Random Forest Classifier

Evaluation used

    • Accuracy Score
    • Precision Score
    • Recall Score
    • F1 Score

18 of 21

Conclusion & Recommendation

19 of 21

Conclusion

    • The Project successfully build chatbot AI to filter word negative with accuracy score 89% model logistics regression

Recommendations

    • For Government Modi : Implement this chatbot if arrive season politic to answer general question.

​

20 of 21

Demo

21 of 21

Thank you :)

Let’s connect and discuss Data & AI Engineer

mahindra.irvan538@gmail.com