This is the README file for the B365-Course-Project repository on Classifications For The Fraudulent Credit Card Charges. Group 7
Created by Devin Thakker, Ahmad Aldhaheri, and Yash Gollapudi
The repository is structured as follows:
Data- Contains the data used for the projectModels- Contains the models created for the projectNotebooks- Contains the Jupyter Notebook file for the projectREADME.md- The README file for the projectrequirements.txt- The file containing the required packages and libraries for the project
To set up the virtual environment for this project, follow these steps:
-
Make sure you have Python installed on your machine. You can check by running the following command:
python --version
-
Create a new virtual environment using the
venvmodule. Run the following command in your terminal:python -m venv myenv
-
Activate the virtual environment. Run the correct command based on your OS:
-
For Windows:
myenv\Scripts\activate
-
For macOS and Linux:
source myenv/bin/activate
-
-
Install the project dependencies from the
requirements.txtfile. Run the following command in your terminal:pip install -r requirements.txt
This will install all the required packages and libraries specified in the
requirements.txtfile.
After making sure all the dependencies are installed whether you decide to use a virtual environment or not.
-
Open the Models Folder
-
In the folder you will find 4 files, each of which are the models we created for this project.
-
To run the models, open the files in a Python IDE and run the code.
-
In the Notebooks Folder, you will find the Jupyter Notebook file that contains the code for the models as well.
Note: The KNN model takes a while to run, so be patient. Also the Decision Tree model also creates a txt file of the tree.
Created by Devin Thakker, Ahmad Aldhaheri, and Yash Gollapudi