LoanApproval-DT-Pruned A Decision Tree Model for Predicting Loan Approvals

πŸ“Œ Overview This is a pruned Decision Tree model trained to predict loan approval decisions based on customer information. It is optimized for performance by reducing overfitting through cost-complexity pruning.

🏦 Dataset The model was trained on a financial dataset containing:

Applicant details: income, employment status, credit history, marital status, etc. Loan-specific details: loan amount, term, and approval status. Target variable: Approval_Status (Y for approved, N for rejected).

πŸ›  Model Details Algorithm: Decision Tree Classifier (pruned) Pruning Parameter: ccp_alpha = 0.0096 Evaluation Metrics: Accuracy: 0.8361 Precision: 0.8077 Recall: 1.0000 F1 Score: 0.8936

πŸš€ How to Use Load the Model python Copy Edit import joblib

Load the model

model = joblib.load("best_pruned_dt.pkl")

Sample prediction

sample_input = [[5000, 0, 1, 1, 200, 360, 1]] # Example feature set prediction = model.predict(sample_input)

Output: ['Y'] or ['N']

print("Loan Approval Prediction:", prediction)

βš–οΈ License This model is licensed under the Creative Commons Attribution 4.0 (CC-BY-4.0) license. You are free to share, modify, and use this model for any purpose, including commercial use, as long as you provide proper attribution to the original creator.

Attribution Requirements: If you use or modify this model, please credit: πŸ“ Author: https://ifiecas.com/ πŸ”— Source: https://huggingface.co/ifiecas/LoanApproval-DT-v1.0/edit/main/README.md πŸ“œ License Details: CC-BY-4.0

πŸ† Acknowledgments This model was developed as part of (BCO6008) Predictive Analytics at Victoria University for automating loan qualification processes.

Downloads last month
0
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Space using ifiecas/LoanApproval-DT-v1.0 1