{"id":22735283,"url":"https://github.com/zenklinov/regression_logistic_-_sentiment_analysis","last_synced_at":"2026-05-03T06:39:02.358Z","repository":{"id":266778196,"uuid":"899333632","full_name":"zenklinov/Regression_Logistic_-_Sentiment_Analysis","owner":"zenklinov","description":"This project demonstrates sentiment analysis, model based on movie review data using Logistic Regression. The model predicts whether a review expresses positive or negative sentiment based on the text provided. The application on #PepGuardiola from Twitter (X).","archived":false,"fork":false,"pushed_at":"2024-12-22T12:07:30.000Z","size":454,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-30T02:26:17.003Z","etag":null,"topics":["natural-language-processing","nlp","nltk","scikit-learn","sentiment-analysis"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zenklinov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-12-06T03:54:55.000Z","updated_at":"2024-12-22T12:08:53.000Z","dependencies_parsed_at":"2024-12-06T04:30:56.851Z","dependency_job_id":"dbf8eec9-99b7-4b43-91d9-9f228856f450","html_url":"https://github.com/zenklinov/Regression_Logistic_-_Sentiment_Analysis","commit_stats":null,"previous_names":["zenklinov/regression_logistic_-_sentiment_analysis"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zenklinov/Regression_Logistic_-_Sentiment_Analysis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zenklinov%2FRegression_Logistic_-_Sentiment_Analysis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zenklinov%2FRegression_Logistic_-_Sentiment_Analysis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zenklinov%2FRegression_Logistic_-_Sentiment_Analysis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zenklinov%2FRegression_Logistic_-_Sentiment_Analysis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zenklinov","download_url":"https://codeload.github.com/zenklinov/Regression_Logistic_-_Sentiment_Analysis/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zenklinov%2FRegression_Logistic_-_Sentiment_Analysis/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32560908,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: 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":["natural-language-processing","nlp","nltk","scikit-learn","sentiment-analysis"],"created_at":"2024-12-10T21:08:50.720Z","updated_at":"2026-05-03T06:39:02.330Z","avatar_url":"https://github.com/zenklinov.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sentiment Analysis with Logistic Regression\n\nThis project demonstrates sentiment analysis, model based on movie review data using Logistic Regression. The model predicts whether a review expresses positive or negative sentiment based on the text provided. The application on #PepGuardiola from Twitter (X).\n\n## Project Structure\n\n- `classify_sentiment.ipynb`: Jupyter Notebook of Input Data, Preprocessing, until Visualizing Sentiment Analysis using Logistic Regression.\n- `app.py`: Main Streamlit application for running the sentiment analysis interface.\n- `logistic_regression_model.joblib`: Pre-trained Logistic Regression model.\n- `tfidf_vectorizer.joblib`: TF-IDF vectorizer for text preprocessing.\n\n## Features\n\n- Upload or input text to analyze sentiment.\n- Pre-trained model for high-accuracy predictions.\n- Real-time sentiment prediction.\n\n## Requirements\n\nInstall the required dependencies with:\n\n```bash\npip install -r requirements.txt\n```\n\n## Pre-trained Model and Vectorizer\n\nThe Logistic Regression model and TF-IDF vectorizer used in this project are pre-trained and available at the following locations:\n\n- [Logistic Regression Model](https://github.com/zenklinov/Regression_Logistic_-_Sentiment_Analysis_Movie_Data/blob/main/logistic_regression_model.joblib)\n- [TF-IDF Vectorizer](https://github.com/zenklinov/Regression_Logistic_-_Sentiment_Analysis_Movie_Data/blob/main/tfidf_vectorizer.joblib)\n\nEnsure these files are downloaded and placed in the appropriate directory before running the application.\n\n## Usage\n\nRun the Streamlit application with the following command:\n\n```bash\nstreamlit run app.py\n```\n\n## Try it on Streamlit:\n\nhttps://regressionlogistic-sentimentanalysis-lgbxfzczme5clpzfct9qmg.streamlit.app/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzenklinov%2Fregression_logistic_-_sentiment_analysis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzenklinov%2Fregression_logistic_-_sentiment_analysis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzenklinov%2Fregression_logistic_-_sentiment_analysis/lists"}