Skip to content

vedantrokde/Placement-Salary-Prediction

Repository files navigation

Placement-Salary-Prediction

Django Web-App for Campus Placement Salary Prediction

To run this project

  1. Clone the project

    git clone https://github.com/vedantrokde/Placement-Salary-Prediction.git
  2. Create a virtual environment using venv

    python -m venv env
    source ./env/Scripts/activate
  3. Make sure you are in Placement-Salary-Prediction folder

    Install all dependencies

    pip install -r requirements.txt

    Run Migrations

    python manage.py makemigrations
    python manage.py migrate

    Run Server

    python manage.py runserver 

And you are good to go!!!

Go to website already deployed on heroku . . .

In your web browser enter the address : http://localhost:8000 or http://127.0.0.1:8000/ to view website locally.

Deploy

Building models for prediction

  1. Download Campus Recruitment Dataset in same directory

  2. Run save_model : python save_model.py

  3. Save created pickel models in /Placement-Salary-Prediction/myapp/models/.

Refer to scikit-learn for any modification required!