{"id":26696600,"url":"https://github.com/juwono136/indonesia-negative-comment-lstm","last_synced_at":"2026-04-17T11:31:14.937Z","repository":{"id":191657817,"uuid":"684977698","full_name":"Juwono136/indonesia-negative-comment-lstm","owner":"Juwono136","description":"Sentiment Analysis of Indonesian Negative Comments on Social Media Using Long Short-Term Memory (LSTM)","archived":false,"fork":false,"pushed_at":"2023-10-16T00:06:28.000Z","size":2627,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-26T20:33:49.453Z","etag":null,"topics":["deep-learning-algorithms","gradio-interface","hugging-face","lstm-sentiment-analysis","nlp","numpy","python3","tensorflow"],"latest_commit_sha":null,"homepage":"https://huggingface.co/spaces/juwono136/indonesia-negative-comment-classification","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Juwono136.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-30T08:47:08.000Z","updated_at":"2024-08-29T01:10:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"cc588479-e638-44ca-9146-f4156e22f5c8","html_url":"https://github.com/Juwono136/indonesia-negative-comment-lstm","commit_stats":null,"previous_names":["juwono136/indonesia-negative-comment-lstm"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Juwono136/indonesia-negative-comment-lstm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Juwono136%2Findonesia-negative-comment-lstm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Juwono136%2Findonesia-negative-comment-lstm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Juwono136%2Findonesia-negative-comment-lstm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Juwono136%2Findonesia-negative-comment-lstm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Juwono136","download_url":"https://codeload.github.com/Juwono136/indonesia-negative-comment-lstm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Juwono136%2Findonesia-negative-comment-lstm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31927645,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T10:35:34.458Z","status":"ssl_error","status_checked_at":"2026-04-17T10:35:09.472Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["deep-learning-algorithms","gradio-interface","hugging-face","lstm-sentiment-analysis","nlp","numpy","python3","tensorflow"],"created_at":"2025-03-26T20:27:01.109Z","updated_at":"2026-04-17T11:31:14.902Z","avatar_url":"https://github.com/Juwono136.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sentiment Analysis of Indonesian Negative Comments on Social Media Using LSTM\n\n![negative-comment-banner](https://github.com/Juwono136/indonesia-negative-comment-lstm/assets/70443393/91923438-86c9-45fb-9f28-22eba392787c)\n\n### Demo or Live Website\n\n➡️ Project Demo: https://huggingface.co/spaces/juwono136/indonesia-negative-comment-classification \u003cbr\u003e\n➡️ Journal Publication: https://journal.formosapublisher.org/index.php/ijis/article/view/4990\n\n## Introduction\n\nCurrently, in addition to discussing in the real world, most people also engage in discussions online, one of which is by commenting on a post on social media. Sometimes, the quality of the discussion deteriorates due to the emergence of various negative comments, especially among Indonesian people who frequently comment on social media. This sentiment analysis aims to classify and make predictions about a comment so that in the future, the discussion space on social media can be improved and unnecessary conflicts can be avoided.\n\nThe Long-Short Term Memory (LSTM) method has been widely used, especially in NLP technology, as it has the advantage of understanding context or words in long-term memory. This sentiment analysis is still in the development stage, with the continuous addition of diverse datasets containing a wider range of sentences.\n\n### 📑 Dataset\n\n➡️ The dataset originates from one of the GitHub users, namely [Ahmad Izzan and team](https://github.com/ahmadizzan/netifier), inspired by the [Toxic Comment Classification Challenge](https://www.kaggle.com/c/jigsaw-toxic-comment-classification-challenge).\nThis dataset consists of approximately 7,773 example sentences (raw_data) categorized into positive and negative sentences in the Indonesian language.\nNegative sentences are divided into 4 types: Pornography, Hate Speech (SARA), Radicalism, and Defamation, whereas positive sentences are those that do not carry negative meanings.\n\n### 🎯 Key Features:\n\n- ➡️ Sentiment Analysis Using LSTM Method with TensorFlow Framework\n- ➡️ Text classification to predict negative comments based on 4 categories: Pornography, Hate Speech (SARA), Radicalism, and Defamation\n\n### 🧑‍💻 Technologies:\n\n- ➡️ Python 3.x\n- ➡️ TensorFlow Framework\n- ➡️ Hugging Face for Deploy (https://huggingface.co/)\n- ➡️ Numpy\n- ➡️ Gradio Interface\n- ➡️ Long-Short Term Memory (LSTM)\n- ➡️ TensorFlow Embedding Projector\n\n## Project Overview\n\n- ➡️ Label Distribution Graph for Sentences in the Raw Data Dataset\n\n  ![image](https://github.com/Juwono136/indonesia-negative-comment-lstm/assets/70443393/5b4467ac-451a-4bc4-bfcb-66d6ebc12a0b)\n\n- ➡️ Correlation Matrix Between Labels\n\n  ![image](https://github.com/Juwono136/indonesia-negative-comment-lstm/assets/70443393/f7d4e800-bf02-42d9-8abd-272565e1dcf1)\n\n- ➡️ Word Cloud from SARA label\n\n  ![image](https://github.com/Juwono136/indonesia-negative-comment-lstm/assets/70443393/cdaae054-6bba-4dfb-bf7f-25e318c8baef)\n\n- ➡️ Workflow\n  \u003cbr\u003eThe core steps of this workflow are data construction which includes the stages of data collection from social media, data analysis, preprocessing and create a model.\n\n  ![image](https://github.com/Juwono136/indonesia-negative-comment-lstm/assets/70443393/548e9a2e-9fd4-4b3a-9868-8e0a96e9069f)\n\n- ➡️ TensorFlow Data Pipelines\n\n  ![image](https://github.com/Juwono136/indonesia-negative-comment-lstm/assets/70443393/49842a14-29e4-4c5e-af47-1228045710cf)\n\n- ➡️ Network Architecture Models\n\n  ![model_layers drawio](https://github.com/Juwono136/indonesia-negative-comment-lstm/assets/70443393/1ff7d83d-f9c9-44d3-abc5-2d77ac1a6c62)\n\n- ➡️ Training and Validation Accuracy Values\n\n  ![image](https://github.com/Juwono136/indonesia-negative-comment-lstm/assets/70443393/cdf01102-1274-4f22-b5fe-53aa77978693)\n\n- ➡️ Training and Validation Loss Values\n\n  ![image](https://github.com/Juwono136/indonesia-negative-comment-lstm/assets/70443393/9ee015fa-a7e7-4782-b2ce-a9cabec01633)\n\n- ➡️ Embedding Projector in Positive Class\n\n  ![image](https://github.com/Juwono136/indonesia-negative-comment-lstm/assets/70443393/c3a7f623-3f12-4fbb-a729-4286b39820b7)\n\n- ➡️ Embedding Projector in Negative Class\n\n  ![image](https://github.com/Juwono136/indonesia-negative-comment-lstm/assets/70443393/841c6cd5-d521-42d7-ada1-c6404b150530)\n\n### 🤝 Project Members\n\n- Juwono\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuwono136%2Findonesia-negative-comment-lstm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjuwono136%2Findonesia-negative-comment-lstm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuwono136%2Findonesia-negative-comment-lstm/lists"}