Welcome to Customer Churn Prediction This repository contains a project that includes an API and a GUI model for predictive analysis.
To get started with this project, follow these steps:
Note:Run this in a windows environment using CMD as your terminal or the tkinter library might produce issues in linux unless you know how to install tkinter.
-
Clone the repository:
git clone https://github.com/Huzaifahimran/MachineLearningProject cd MyProject
-
Create a virtual environment in the repository folder:
python -m venv myenv
-
Activate the virtual environment:
- On Windows:
.\myenv\Scripts\activate
- On Windows:
-
Install the required packages:
pip install -r requirements.txt
-
Run the API file:
python api.py
-
Open a new terminal (cmd) without closing the terminal in which your API file (api.py) is running.
-
Activate the already created virtual environment in this second terminal:
.\myenv\Scripts\activate
-
Run the GUI APP file:
python guiformodel.py
-
Now you can enter your data for the model to predict.