Spaces:
Sleeping
Sleeping
Commit ·
35b5dfb
1
Parent(s): 12c85bd
Add root route and readme endpoint
Browse files- model/metadata.json +7 -2
- model/model_meta.json +0 -1
- model/pipeline.joblib +0 -3
- model/threshold.json +0 -1
- requirements.txt +2 -2
model/metadata.json
CHANGED
|
@@ -92,5 +92,10 @@
|
|
| 92 |
"cost_matrix": {
|
| 93 |
"FP": 1.0,
|
| 94 |
"FN": 5.0
|
| 95 |
-
}
|
| 96 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 92 |
"cost_matrix": {
|
| 93 |
"FP": 1.0,
|
| 94 |
"FN": 5.0
|
| 95 |
+
},
|
| 96 |
+
"sklearn_version": "1.6.1",
|
| 97 |
+
"xgboost_version": "2.1.1",
|
| 98 |
+
"joblib_version": "1.4.2",
|
| 99 |
+
"pandas_version": "2.2.2",
|
| 100 |
+
"numpy_version": "1.26.0"
|
| 101 |
+
}
|
model/model_meta.json
DELETED
|
@@ -1 +0,0 @@
|
|
| 1 |
-
{"model": "lgbm+cal", "version": "1.0.0", "selected_model": "lgbm+cal", "features": ["age", "income", "credit_score", "loan_amount", "loan_term", "interest_rate", "employment_status", "debt_to_income_ratio", "marital_status", "number_of_dependents", "property_ownership", "loan_purpose"], "num_cols": ["age", "income", "credit_score", "loan_amount", "loan_term", "interest_rate", "debt_to_income_ratio", "number_of_dependents"], "cat_cols": ["employment_status", "marital_status", "property_ownership", "loan_purpose"], "split": {"train": 3499, "val": 751, "test": 750}, "metrics": {"val_auc_pr": 0.0999320886230898, "val_auc_roc": 0.49033530571992107}}
|
|
|
|
|
|
model/pipeline.joblib
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:695b8f94ae93d3e2e676d7005ec27239742e8e7e0fa8d6a4447e478ab9d5910d
|
| 3 |
-
size 13855459
|
|
|
|
|
|
|
|
|
|
|
|
model/threshold.json
DELETED
|
@@ -1 +0,0 @@
|
|
| 1 |
-
{"threshold": 0.06999999999999999}
|
|
|
|
|
|
requirements.txt
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
fastapi==0.115.6
|
| 2 |
uvicorn==0.32.1
|
| 3 |
-
numpy==1.26.
|
| 4 |
pandas==2.2.2
|
| 5 |
-
scikit-learn==1.
|
| 6 |
xgboost==2.1.1
|
| 7 |
lightgbm==4.3.0
|
| 8 |
joblib==1.4.2
|
|
|
|
| 1 |
fastapi==0.115.6
|
| 2 |
uvicorn==0.32.1
|
| 3 |
+
numpy==1.26.0
|
| 4 |
pandas==2.2.2
|
| 5 |
+
scikit-learn==1.6.1
|
| 6 |
xgboost==2.1.1
|
| 7 |
lightgbm==4.3.0
|
| 8 |
joblib==1.4.2
|