File size: 1,366 Bytes
c20d2a2 ed73a95 6318eaa c20d2a2 e238f55 c20d2a2 9aaa627 6318eaa c20d2a2 6318eaa |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 |
---
title: Encrypted Credit Card Approval Prediction Using Fully Homomorphic Encryption
emoji: π³ β
colorFrom: green
colorTo: green
sdk: gradio
sdk_version: 4.44.0
app_file: app.py
pinned: true
tags:
- FHE
- PPML
- privacy
- privacy preserving machine learning
- credit card approval
- credit score
- homomorphic encryption
- security
python_version: 3.10.11
---
# Credit card approval using FHE
## Run the application locally
### Install the dependencies
First, create a virtual env and activate it:
```bash
python3 -m venv .venv
source .venv/bin/activate
```
Then, install the required packages:
```bash
pip3 install pip --upgrade
pip3 install -U pip wheel setuptools --ignore-installed
pip3 install -r requirements.txt --ignore-installed
```
The above steps should only be done once.
## Run the app
In a terminal, run:
```bash
source .venv/bin/activate
python3 app.py
```
## Interact with the application
Open the given URL link (search for a line like `Running on local URL: http://127.0.0.1:8888/`).
## Development
If the model, data-set or pre/post-processing is modified locally, it is possible to initialize,
fit and compile the model all at once using the following command. It will also save the deployment
files at the right places in order to make sure the app works properly :
```bash
python3 development.py
```
|