Current App Link: https://wage-employment-prediction.herokuapp.com/ (Outdated, new link to be posted soon)
This project is aimed at providing actionable insights to support SDG Number 8, by allowing users/stakeholders to do a Predictive Analysis of Productive Employment in Kenya based on Economic Growth. The project uses machine learning algorithms for the regression problem: Given the economic growth metrics (Contribution to GDP, Growth by GDP) according to Industry, predict the number of people in non-productive employment (working poor) and the total number in employment; per Industry.
- Python 3.6.9 - The programming language used.
- SciKit Learn - The machine learning library used.
- Anaconda from Anaconda Organization Installed on Local System
- Fire up an Anaconda Prompt or terminal
- Create a Python virtual environment using conda. Specify the Python version == 3.6.9
- Activate conda environment
- Locate requirements.txt and pip install all the packages in the document
- Navigate to the deployment folder (containing code for deployment)
- Copy the path/address of the deployment folder
- In the terminal/prompt, cd into that directory using the command
cd path
. Replace path with the deployment folder's path - Run the following command in the terminal:
Flask run
- The command will fire up the Flask server
- Wait to be provided with a link on the terminal, which you can then paste in your browser to access the application
- Locate the test file Wage_Employment_and_GDP_2018.csv in the resulting home page, select the test file upload it to get predictions
- The predictions of the next year will then be displayed shortly thereafter
Contributions are welcome using pull requests. To contribute, follow these steps:
- Fork this repository.
- Create a branch:
git checkout -b <branch_name>
- Make your changes to relevant file(s)
- Check status of your commits:
git status
- Add and commit file(s) to the repo using:
git add <file(s)>
git commit -m "<message>"
- Push repo to Github:
git push origin <branch_name
- Create the pull request. See the GitHub documentation on creating a pull request.
If you find a bug (the website couldn't handle the query and/or gave undesired results), kindly open an issue here by including your search query and the expected result.
If you'd like to request a new function, feel free to do so by opening an issue here. Please include sample queries and their corresponding results.
See also the list of Contributors who participated in this project.