Skip to content

marlonszm/patterns-project

Repository files navigation

Employee Prediction Web App

CI Coverage Deployment Pull Requests Last Commit

Commit Activity Languages Contributors Release License

Description

This is a machine learning-powered web application built using Flask. It predicts the potential career outcome of employees based on their profile data, such as joining year, payment tier, age, experience, and education level. The app allows users to input their details via a form, and the model predicts the outcome based on trained data. The web app is deployed on Vercel for production use.

Features:

  • Input form for employee details: joining year, payment tier, age, ever benched status, experience, gender, and education level.
  • Predicted career outcome displayed upon form submission.
  • Simple and intuitive user interface for easy interaction.
  • Secure model loading with file path handling.

Production

The application is deployed and is available at the following link: Employee Prediction Web App

Installation

Prerequisites:

  1. Python 3.8+
  2. Node.js (for testing scripts)
  3. Flask (for running the app)
  4. Required libraries for model handling and prediction

Steps to set up:

  1. Clone the repository:

    git clone https://github.com/your-repository-url.git
    cd your-repository
  2. Install Python dependencies:

    pip install -r requirements.txt
  3. Install Node.js dependencies:

    npm install
  4. Run the Flask app:

    python app.py
  5. Open your browser and navigate to:

    http://127.0.0.1:5000/

Testing

To run tests for the application:

  1. Install pytest:

    pip install pytest
  2. Run the tests:

    pytest

Contributing

Feel free to fork the repository and submit pull requests. Contributions are welcome!

Developers

This project is developed and maintained by:

  • Marlon Melo
  • Victor Melo
  • Pedro Sérgio
  • Tatiana Limongi

License

This project is licensed under the MIT License - see the LICENSE file for details.