{"id":15158333,"url":"https://github.com/mpoojithavigneswari/sentiment-analysis","last_synced_at":"2026-02-04T16:01:51.826Z","repository":{"id":249763635,"uuid":"832475689","full_name":"MPoojithavigneswari/Sentiment-Analysis","owner":"MPoojithavigneswari","description":"The primary goal of this project is to build a sentiment analysis model that can predict the sentiment of a given review (positive or negative).","archived":false,"fork":false,"pushed_at":"2024-07-23T19:23:41.000Z","size":39255,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-26T03:13:38.562Z","etag":null,"topics":["deep-learning","keras","machine-learning","nlp","python","rnn-lstm","scikit-learn","tensorflow"],"latest_commit_sha":null,"homepage":"https://sentiment-analysis-alexa.streamlit.app/","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/MPoojithavigneswari.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":"2024-07-23T05:28:01.000Z","updated_at":"2024-07-23T19:29:08.000Z","dependencies_parsed_at":"2024-09-26T20:53:46.796Z","dependency_job_id":null,"html_url":"https://github.com/MPoojithavigneswari/Sentiment-Analysis","commit_stats":{"total_commits":9,"total_committers":2,"mean_commits":4.5,"dds":"0.11111111111111116","last_synced_commit":"d2b52ec5a6d2adc8979f4fd9a0b72dd27c954ac4"},"previous_names":["mpoojithavigneswari/sentiment-analysis"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MPoojithavigneswari%2FSentiment-Analysis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MPoojithavigneswari%2FSentiment-Analysis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MPoojithavigneswari%2FSentiment-Analysis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MPoojithavigneswari%2FSentiment-Analysis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MPoojithavigneswari","download_url":"https://codeload.github.com/MPoojithavigneswari/Sentiment-Analysis/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245579675,"owners_count":20638679,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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","keras","machine-learning","nlp","python","rnn-lstm","scikit-learn","tensorflow"],"created_at":"2024-09-26T20:42:57.072Z","updated_at":"2026-02-04T16:01:51.736Z","avatar_url":"https://github.com/MPoojithavigneswari.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sentiment Analysis on Amazon Alexa Reviews\n\n## Introduction:\nThis project involves sentiment analysis on Amazon Alexa reviews using deep learning and traditional machine learning techniques. The objective is to classify the reviews as either positive or negative based on their content. The dataset consists of 36 lakh train data points used for training and validation, and 4 lakh test data points for evaluation.\n\n## Project Overview\n- Objective: Classify Amazon Alexa reviews as positive or negative.\n- Dataset: 36 lakh train data points and 4 lakh test data points.\n- Techniques: Recurrent Neural Network (RNN) with LSTM layers , Logistic Regression, Stochastic Gradient Descent and Naive Bayes.\n- Frameworks: TensorFlow, Keras.\n- Accuracy: Achieved 94.1% training accuracy and 94.2% testing accuracy using LSTM model.\n- Deployment: Logistic Regression model is deployed using streamlit.\n\n## Installation\nClone the repository:\n```\ngit clone https://github.com/MPoojithavigneswari/Sentiment-Analysis.git\ncd Sentiment-Analysis\n```\nInstall the dependencies:\n```\npip install -r requirements.txt\n```\n\n## Usage\nRun the Streamlit app:\n```\nstreamlit run streamlit_app.py\n```\nThis generates a link and opens it in your web browser. Enter the any review to get its predicted sentiment.\n\n## Dataset\nThe dataset isw large and consists of Amazon Alexa product reviews, which include the review text and the corresponding sentiment label (positive or negative). Click [here](https://www.kaggle.com/datasets/kritanjalijain/amazon-reviews) to download the dataset.\n\n## Deployment\nThe Streamlit app is deployed and hosted at [Sentiment Analysis Web App](https://sentiment-analysis-alexa.streamlit.app/).\n\n## Results\nThe Logistic Rgrssion model achieved an accuracy of 87.5% on the test set. The Streamlit app provides a user-friendly interface for predicting the sentiment of new reviews.\n\n## Contributing\nContributions are welcome! Please fork the repository and submit a pull request for any improvements or bug fixes.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmpoojithavigneswari%2Fsentiment-analysis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmpoojithavigneswari%2Fsentiment-analysis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmpoojithavigneswari%2Fsentiment-analysis/lists"}