FINANCIAL CRISIS PREDICTOR - RUN GUIDE
PREREQUISITES
- Ensure you have Python 3.8+ installed.
- Open your terminal and navigate to this sources folder.
STEP 1: INSTALL DEPENDENCIES pip install -r requirements.txt
STEP 2(OPTIONAL): RE-TRAIN THE MACHINE LEARNING MODELS If you want to re-train the models from scratch and regenerate the performance plots, run the training script: python train_models.py
STEP 3: START THE WEB APPLICATION python app.py
STEP 4: ACCESS THE WEB PAGE Once the server is running, open your web browser and go to: http://127.0.0.1:5000
NOTE: - the Pre-Processing folder has the python note book and original excel file used to create the cleaned_financial_data.csv file used for this project but does not need to be run and is just there to review if required. - the static folder has all of the frontend code ans well as a subfolder plots if you want to just view the plots. - Testing.py is not needed to run either and is just code of how i was testing KNN to tune the model for less flase nagatives.