GithubHelp home page GithubHelp logo

cherish-noe / income-predictor Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 439 KB

Income Prediction Model deployed as Flask app

Python 37.13% HTML 62.87%
decision-tree-classifier flask income-prediction

income-predictor's Introduction

Income Predictor

This project aims to build a machine learning model to predict whether an individual's income exceeds $50K annually based on demographic and job-related data. The project includes the following components:

  1. Data Preprocessing: Data preprocessing techniques are applied to clean and prepare the dataset for model training.

  2. Model Training: The predictive model is trained using a decision tree classifier algorithm.

  3. Evaluation: The trained model is evaluated to assess its performance and accuracy in predicting income levels.

  4. Deployment: The model is deployed as a simple web application using Flask, allowing users to input their demographic and job-related information to obtain income predictions.

The goal of this project is to provide a practical tool for predicting income levels and to demonstrate the application of machine learning techniques in solving real-world problems.

Installation

To run this project locally, follow these steps:

  1. Clone the repository to your local machine:
git clone https://github.com/your-username/income-predictor.git
  1. Navigate to the project directory:
cd income-predictor
  1. Create a virtual environment (optional but recommended):
python -m venv venv
  1. Activate the virtual environment:

On Windows:

venv\Scripts\activate

On macOS and Linux:

source venv/bin/activate
  1. Install the required dependencies:
pip install -r requirements.txt
  1. Run the application:
python script.py
  1. Open your web browser and go to http://localhost:5000 to access the application.

income-predictor's People

Contributors

cherish-noe avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.