Skip to content

garciadias/monzo_decision_scientist

Repository files navigation

Take home test for the decision scientist position at Monzo

Running the code

Install the environment

This code was created using the Poetry package management. To install Poetry follow the description at poetry installation. Once you have installed Poetry you need to initiate the project:

poetry init
poetry update

Open a shell with the virtual environment loaded:

poetry shell

Create kernel to use on Jupyter

python -m ipykernel install --user --name monzo --display-name "monzo"

Open Jupyter Notebook

jupyter-notebook Monzo_Take_Home_Test_Decision_Scientist_Rafael_Garcia_Dias.ipynb &

Running scripts directly

Everything on the Jupyter Notebook is based on the code development at the monzo_decision_scientist. The scripts can be run directly by

python -m <model_path>

For example, to clean and explore the data one can run:

python -m monzo_decision_scientist.data.exploratory_analysis

run all

I have also prepared a bash script to run all the code in sequence.

bash run_all.sh

Tests

The tests were developed with pytest. Run all the tests with:

pytest -svv

About

Take Home Test: Decision Scientist at Monzo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published