A hosted version of the model can be found on Streamlit here.
Open up a Terminal and enter the following commands:
git clone https://github.com/underdoge/fraud-detection
cd fraud-detectionpython -m venv .venvsource .venv/bin/activatepip install -r requirements.txtmlflow serverpython fraud_detection_flow.py run --source-file data/credit_card_transactions-ibm_v2.csvpython import_mlflow_model.pybentoml models listcd service
bentoml serve service.py --reloadbentoml buildbentoml listbentoml containerize <model tag from previous step e.g. fraud-detection-service:worn7ggjg2q63yqs>docker run -p 3000:3000 <model tag from previous step e.g. fraud-detection-service:worn7ggjg2q63yqs>- Python 3.11.6 or greater
- Git (to clone the repo)
- Docker (to create Docker image)