Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Machine Learning Model and Report Generation
This repository contains scripts to build a machine learning model for predicting loan risk based on financial data and generate a PDF report with model performance metrics and visualizations.
Table of Contents
Prerequisites
Installation
Clone the repository
git clone https://github.com/Asim-Sidd02/RiskPredectionSystem.git cd RiskPredectionSystem
Install the dependencies using pip:
File Structure
The project directory structure is organized as follows:
modelBuilding.py
: Python script responsible for preprocessing the data, training a Random Forest Classifier, and evaluating its performance.main.py
: Python script responsible for generating a PDF report (ML_Model_Report.pdf
) with model performance metrics and visualizations.german_credit_data.csv
: Dataset file used for training the machine learning model.ML_Model_Report.pdf
: PDF report generated bymain.py
containing visualizations and metrics of the trained model.