Instructions to use esteele/loan_classifier_pipeline with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Scikit-learn
How to use esteele/loan_classifier_pipeline with Scikit-learn:
from huggingface_hub import hf_hub_download import joblib model = joblib.load( hf_hub_download("esteele/loan_classifier_pipeline", "sklearn_model.joblib") ) # only load pickle files from sources you trust # read more about it here https://skops.readthedocs.io/en/stable/persistence.html - Notebooks
- Google Colab
- Kaggle
Create feature_names.json
Browse files- feature_names.json +5 -0
feature_names.json
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"features": ["LoanOriginalAmount", "CreditScoreRangeLower", "StatedMonthlyIncome", "Investors", "MonthlyLoanPayment"],
|
| 3 |
+
"target": "LoanStatus",
|
| 4 |
+
"target_classes": ["Current", "Completed", "ChargedOff"]
|
| 5 |
+
}
|