- Open your terminal or on Windows open the Anaconda Terminal
- Run
conda create --name KrenoC3 python=3.10
- Once all the setup is complete then run
conda activate krenoC3
- Now go into the boilerplate directory by
cd
- And then perform
pip install -r requirements.txt
- Once all the libraries are installed
- Open visual studio code and open this code
- Open the terminal in VSC
- In the terminal again run
conda activate krenoC3
- Finally run
uvicorn main:app --reload
- Now go to your browser and type
http://localhost:8000/
- If you see Hello World in JSON then you are good to go
Name | Sample | Unique Values | Type |
---|---|---|---|
LoanID | LP001003 | 370 | String |
Gender | Male | 2 | String |
Married | Yes | 2 | String |
Dependents | 3+ | 4 | String |
Education | Graduate | 2 | String |
ApplicantIncome | 4583 | 312 | Float |
CoapplicantIncome | 1508.0 | 178 | Float |
LoanAmount | 128.0 | 101 | Float |
Loan_Amount_Term | 360 | 10 | Float |
Credit_History | 1 | 2 | String |
Property_Area | Rural | 3 | String |
We want to predict if loan should be passed or rejected. Pass will be 1 and rejected will be 0