Spaces:
Sleeping
Sleeping
Update README.md
Browse files9 unmodified lines101112131415161718199 unmodified linespinned: falseshort_description: Streamlit template space---# Welcome to Streamlit!Edit `/src/streamlit_app.py` to customize this app to your heart's desire. :heart:If you have any questions, checkout our [documentation](https://docs.streamlit.io) and [communityforums](https://discuss.streamlit.io).9 unmodified lines1011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909 unmodified linespinned: falseshort_description: Streamlit template space---# π¬ IMDb Movie Review Sentiment AnalysisThis app predicts whether a movie review is **positive** or **negative** using a Machine Learning model trained on the IMDb dataset.π **Live App:** (add your Hugging Face link here)---## π Project OverviewSentiment analysis is a Natural Language Processing (NLP) task that determines the emotional tone behind a piece of text.In this project:- User enters a movie review- The text is transformed using **Bag-of-Words (CountVectorizer)**- A **Logistic Regression** model predicts the sentiment---## π§ Model Details- **Algorithm:** Logistic Regression- **Vectorizer:** CountVectorizer (max_features = 5000, English stopwords removed)- **Train/Test Split:** 80 / 20- **Evaluation Metric:** Accuracyβ **Accuracy:** ~0.87The dataset is balanced between positive and negative reviews, making accuracy a reliable metric.---## π DatasetIMDb Dataset of 50K Movie ReviewsEach review is labeled as:- `positive`- `negative`---## βοΈ How It Works1. User enters a movie review in the app2. The review is converted into numerical features using the trained vectorizer3. The model predicts the sentiment4. The app displays:- Predicted class- Confidence score---## π₯οΈ App Featuresβ Real-time sentiment predictionβ Confidence probabilityβ Clean and interactive UIβ Handles raw text input---## π οΈ Tech Stack- Python- Scikit-learn- Pandas- Streamlit- Joblib---## π Run Locally```bashpip install -r requirements.txtstreamlit run streamlit_app.py
README.md+75-4