Skip to content

dtheod/salary-prediction

Repository files navigation

salary-prediction

Run tests

End-to-End Salary Prediction

Project Structure

  • src: consists of Python scripts
  • config: consists of configuration files
  • data: consists of data
  • notebook: consists of Jupyter Notebooks
  • tests: consists of test files

Set Up the Project

  1. Install Poetry
  2. Set up the environment:
make setup
make install_all
  1. To persist the output of Prefect's flow, run
export PREFECT__FLOWS__CHECKPOINTING=true

Run the Project

To run all flows, type:

python src/main.py

Run the API Endpoint

To run type:

bentoml serve src/bentoml_run.py:service --reload

Run the Streamlit App

streamlit run src/streamlit_app.py