Skip to content

vinay-s36/Sentiment-analyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sentiment-analyzer

Follow these instructions to set up and run the project locally.

Prerequisites

Make sure you have the following installed on your machine:

  • Python (3.7 or higher)
  • pip (Python package installer)
  • Django

Installation

  1. Clone the Repository:
git clone https://github.com/vinay-s36/Sentiment-analyzer.git
  1. Navigate to the Project Directory:
cd Sentiment-analyzer
  1. Create a Virtual Environment (Optional but recommended):
python -m venv venv
  1. Activate the Virtual Environment:
  • On Windows:
venv\Scripts\activate
  • On macOS/Linux:
source venv/bin/activate
  1. Install Dependencies:
pip install -r requirements.txt
  1. Run Migrations:
python manage.py migrate
  1. Downloading KNN Model:

    • Click on the following link to download the model file: knn_model
    • Save the downloaded model file (knn_model.pkl) in the 'backendapp' directory.
  2. Run the Development Server:

python manage.py runserver

The development server will start running at http://127.0.0.1:8000/

Happy coding! 🚀

Contributors: Vivek Vanesh Vishal

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published