This project aims to predict credit scores based on various financial and personal factors using the Random Forest classification algorithm. The dataset contains features such as annual income, monthly in-hand salary, number of bank accounts, credit cards, interest rate, and more. By analyzing these features, the goal is to create a model that accurately predicts credit scores.
- Project Overview
- Data Exploration
- Model Building
- Usage
- Getting Started
- Dependencies
- Contributing
- License
In this project, we analyze a dataset containing financial and personal factors to predict credit scores using the Random Forest classification algorithm. The main steps include:
- Exploring the dataset to understand the features and data distribution.
- Preprocessing the data, converting categorical features into numerical ones.
- Splitting the data into training and testing sets.
- Building a Random Forest classification model using important features.
- Making predictions using user-input features.
The dataset consists of various financial and personal features, and their impact on credit scores is analyzed. Box plots are used to visualize the relationship between each feature and credit scores.
A Random Forest classification model is trained using important features identified during data exploration. This model is used to predict credit scores based on user input.
To predict credit scores using the trained model, follow these steps:
- Clone this repository.
- Ensure you have the required dependencies installed (see Dependencies).
- Run the provided Python script (
credit_score_prediction.py
). - Input the required features (annual income, monthly in-hand salary, etc.).
- The script will output the predicted credit score.
- Clone the repository:
git clone https://github.com/Mohshaikh23/Credit-Score-Classification-using-Random-Forest.git
- Navigate to the project directory:
cd credit-score-prediction
- Run the prediction script:
python credit_score_prediction.py
The project requires the following Python libraries:
- pandas
- numpy
- scikit-learn
You can install them using the following command:
pip install pandas numpy scikit-learn
Contributions to this project are welcome! Feel free to open issues or submit pull requests for any improvements or features.
This project is licensed under the MIT License.
Feel free to customize the content according to your project's specific details. Good luck with your Credit Score Classification project!