{"id":18266229,"url":"https://github.com/arindal1/sentiment-analysis-tf-keras","last_synced_at":"2026-04-11T07:01:51.414Z","repository":{"id":200562722,"uuid":"705809205","full_name":"arindal1/sentiment-analysis-TF-Keras","owner":"arindal1","description":"A python script for YouTube sentiment analysis using a Neural Network with TensorFlow and Keras.","archived":false,"fork":false,"pushed_at":"2023-10-16T19:10:32.000Z","size":1767,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-27T02:47:10.709Z","etag":null,"topics":["keras","machine-learning","sentiment-analysis","tensorflow","youtube"],"latest_commit_sha":null,"homepage":"","language":"Python","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/arindal1.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}},"created_at":"2023-10-16T18:22:51.000Z","updated_at":"2024-02-22T17:14:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"6c395a74-cfed-41b4-b982-a9f88b27c0b1","html_url":"https://github.com/arindal1/sentiment-analysis-TF-Keras","commit_stats":null,"previous_names":["arindal1/sentiment-analysis-tf-keras"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/arindal1/sentiment-analysis-TF-Keras","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arindal1%2Fsentiment-analysis-TF-Keras","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arindal1%2Fsentiment-analysis-TF-Keras/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arindal1%2Fsentiment-analysis-TF-Keras/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arindal1%2Fsentiment-analysis-TF-Keras/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arindal1","download_url":"https://codeload.github.com/arindal1/sentiment-analysis-TF-Keras/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arindal1%2Fsentiment-analysis-TF-Keras/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31671630,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-10T17:19:37.612Z","status":"online","status_checked_at":"2026-04-11T02:00:05.776Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["keras","machine-learning","sentiment-analysis","tensorflow","youtube"],"created_at":"2024-11-05T11:22:34.140Z","updated_at":"2026-04-11T07:01:51.396Z","avatar_url":"https://github.com/arindal1.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Sentiment Analysis with TensorFlow and Keras\n\nThis project demonstrates sentiment analysis using a neural network built with TensorFlow and Keras. The model is trained to classify text into three sentiment categories: negative, neutral, and positive.\n\n## Introduction\n\nSentiment analysis, also known as opinion mining, involves analyzing and understanding the sentiment expressed in a piece of text. This project employs a neural network to predict the sentiment of input text.\n\n## Installation\n\nTo set up and run this project, follow these steps:\n\n1. Clone the repository:\n   ```bash\n   git clone \u003crepository_url\u003e\n   cd \u003crepository_name\u003e\n   ```\n\n2. Install the necessary dependencies:\n\n## Usage\n\n- **Preprocessing**: The text data is preprocessed and tokenized using TensorFlow's Tokenizer. The sequences are padded to a fixed length for consistency.\n\n- **Model**: A neural network model is defined using Keras, with an Embedding layer, GlobalAveragePooling1D, and Dense layers. The model is compiled and trained on the provided dataset.\n\n- **Evaluation**: The model is evaluated on a test dataset to measure its performance.\n\n- **Interactive Prediction**: Users can interactively input a sentence for sentiment analysis, and the trained model predicts the sentiment of the input.\n\n## Model Training\n\n- If the saved model exists, it is loaded.\n- If not, a new model is trained using the provided dataset and saved for future use.\n\n## Interactive Prediction\n\nTo predict sentiment for a custom input, run the provided script and follow the prompts.\n\n```bash\npython predict.py\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farindal1%2Fsentiment-analysis-tf-keras","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farindal1%2Fsentiment-analysis-tf-keras","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farindal1%2Fsentiment-analysis-tf-keras/lists"}