Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel
Integration:  dvc git mlflow github
VlaDDOS b58ec715d8
Add conclusion to notebook
1 week ago
509e296582
Upload files using DagsHub client
1 week ago
b58ec715d8
Add conclusion to notebook
1 week ago
af5c697fa2
model directory
1 week ago
src
7a51550b60
Add Docker support, refactor project layout, update README
1 week ago
7a51550b60
Add Docker support, refactor project layout, update README
1 week ago
de5f7962f9
Initial commit
1 month ago
ac5aff5675
Merge branch 'main' into development
1 week ago
49b20493f5
docker integration
1 week ago
7a51550b60
Add Docker support, refactor project layout, update README
1 week ago
509e296582
Upload files using DagsHub client
1 week ago
49b20493f5
docker integration
1 week ago
Storage Buckets
Data Pipeline
Legend
DVC Managed File
Git Managed File
Metric
Stage File
External File

README.md

You have to be logged in to leave a comment. Sign In

Restaurant Sentimental Analysis (ML-based)

Python Status

Click to visit:

MLFlow DagsHub

Overview

This repository provides a machine learning-based solution for sentiment analysis of restaurant reviews. It leverages natural language processing (NLP) techniques to classify customer feedback as positive, negative, or neutral, helping restaurants better understand their customer satisfaction and improve their services.

Features

  • Sentiment analysis of textual restaurant reviews
  • Data preprocessing and cleaning pipeline
  • Model training and evaluation
  • Visualization of sentiment results
  • Easy integration with restaurant review platforms

Technologies Used

  • Python
  • scikit-learn
  • pandas
  • numpy
  • matplotlib / seaborn (for visualizations)
  • MLFlow (for experiment tracking)
  • Docker (for containerized deployment)

Interaction demo

DEMO GIF

Getting Started

Installation

With Docker (easy way)

  1. Pull the Docker image from dockerHub:
docker pull pigstep/resourant-sentimental-analys:v0.20
  1. Run the container:
docker run -d -p 8000:8000 pigstep/resourant-sentimental-analys:v0.20
  1. Access the application at http://localhost:8000.

Without docker

  1. Clone the repository:
git clone https://github.com/PigStep/Restourant-Sentimental-Analys-ML-based.git
cd Restourant-Sentimental-Analys-ML-based
  1. Install dependencies:
pip install -r requirements.txt
  1. Run the main script with uvicorn:
cd Restourant-Sentimental-Analys-ML-based/src
uvicorn main:app --reload
  1. Access the application at http://localhost:8000.

Project Structure

Restourant‑Sentimental‑Analys‑ML‑based/
├── .gitattributes           
├── Dockerfile               # Docker image definition
├── README.md                # Project documentation
├── requirements.txt         # Python dependencies
├── src/
│   ├── main.py              # FastAPI application entry point
│   ├── TextClassifier.py    # Wrapper around the trained model
│   └── mlflow_logging.py    # Functions for experiment tracking
├── experiment_notebook/
│   ├── baseline_model.ipynb   # Logistic‑Regression experiments
│   ├── SVM_model.ipynb        # SVM experiments
│   └── data_preparation.ipynb # Data download and cleaning
└── static/
    └── index.html           # Front‑end landing page served by FastAPI

Quick start with API

soon

Contributing

Contributions are welcome! Please open issues or submit pull requests for improvements, bug fixes, or new features.

License

This project is licensed under the MIT License.

Contact

For questions, suggestions, or feedback, feel free to open an issue or contact PigStep.

Tip!

Press p or to see the previous file or, n or to see the next file

About

NLP sentimental analys model based on open data

Collaborators 1

Comments

Loading...