Update README.md
Browse files
README.md
CHANGED
|
@@ -1,79 +1,48 @@
|
|
| 1 |
-
---
|
| 2 |
-
metadata:
|
| 3 |
-
language: en
|
| 4 |
-
library_name: scikit-learn
|
| 5 |
-
tags:
|
| 6 |
-
- classification
|
| 7 |
-
- machine-learning
|
| 8 |
-
- tabular-data
|
| 9 |
-
- sklearn
|
| 10 |
-
- diabetes-prediction
|
| 11 |
-
license: mit
|
| 12 |
-
datasets:
|
| 13 |
-
- custom
|
| 14 |
-
model-type: multi-model-repository
|
| 15 |
-
author: Thyagharajan K K
|
| 16 |
-
pipeline_tag: tabular-classification
|
| 17 |
-
inference: true
|
| 18 |
-
app_file: app.py
|
| 19 |
-
flags:
|
| 20 |
-
- cpu
|
| 21 |
-
- allow_fork
|
| 22 |
-
- allow_metrics
|
| 23 |
-
emoji: 📊
|
| 24 |
-
colorFrom: blue
|
| 25 |
-
colorTo: indigo
|
| 26 |
-
---
|
| 27 |
-
|
| 28 |
-
# 📊 KKT-HF-MachineLearning-Models
|
| 29 |
-
### 🔧 Ready-to-Use Machine Learning Models for Tabular Classification
|
| 30 |
-
Created by **Thyagharajan K K**
|
| 31 |
-
|
| 32 |
-
**Hugging Face Hub License:** MIT
|
| 33 |
-
**Made with:** Scikit-Learn · Python
|
| 34 |
-
**Supports:** CPU · Forking · HF Metrics
|
| 35 |
-
|
| 36 |
-
---
|
| 37 |
-
|
| 38 |
-
## 📘 Overview
|
| 39 |
-
This repository contains a collection of **pretrained classical Machine Learning models** for **tabular data classification**, such as diabetes prediction.
|
| 40 |
-
|
| 41 |
-
Each model directory includes:
|
| 42 |
-
|
| 43 |
-
- 🧠 Trained `.pkl` ML model
|
| 44 |
-
- 🏷️ Label file: `class_names.txt`
|
| 45 |
-
- 📂 Example test CSVs in `Test/`
|
| 46 |
-
- ⚡ Fully ready for programmatic inference + UI apps
|
| 47 |
-
|
| 48 |
-
---
|
| 49 |
-
|
| 50 |
-
## 🧩 Programmatic Usage
|
| 51 |
-
|
| 52 |
-
```python
|
| 53 |
-
from KKT_DL_Package.utils.KKT_predictions import (
|
| 54 |
-
tabular_prediction_return,
|
| 55 |
-
display_results_gui,
|
| 56 |
-
get_hf_model_tabular_labels_local_path,
|
| 57 |
-
)
|
| 58 |
-
|
| 59 |
-
model_full_path, test_folder_path, class_names = (
|
| 60 |
-
get_hf_model_tabular_labels_local_path(
|
| 61 |
-
"kkthyagharajan/KKT-HF-MachineLearning-Models",
|
| 62 |
-
force_refresh=False,
|
| 63 |
-
)
|
| 64 |
-
)
|
| 65 |
-
|
| 66 |
-
# Run predictions
|
| 67 |
-
all_test_data, all_predicted_labels, all_confidences = (
|
| 68 |
-
tabular_prediction_return(
|
| 69 |
-
model_full_path,
|
| 70 |
-
test_folder_path,
|
| 71 |
-
class_names,
|
| 72 |
-
)
|
| 73 |
-
)
|
| 74 |
-
|
| 75 |
-
# Display results
|
| 76 |
-
display_results_gui(
|
| 77 |
-
all_test_data,
|
| 78 |
-
all_predicted_labels,
|
| 79 |
-
)
|
|
|
|
| 1 |
+
---
|
| 2 |
+
metadata:
|
| 3 |
+
language: en
|
| 4 |
+
library_name: scikit-learn
|
| 5 |
+
tags:
|
| 6 |
+
- classification
|
| 7 |
+
- machine-learning
|
| 8 |
+
- tabular-data
|
| 9 |
+
- sklearn
|
| 10 |
+
- diabetes-prediction
|
| 11 |
+
license: mit
|
| 12 |
+
datasets:
|
| 13 |
+
- custom
|
| 14 |
+
model-type: multi-model-repository
|
| 15 |
+
author: Thyagharajan K K
|
| 16 |
+
pipeline_tag: tabular-classification
|
| 17 |
+
inference: true
|
| 18 |
+
app_file: app.py
|
| 19 |
+
flags:
|
| 20 |
+
- cpu
|
| 21 |
+
- allow_fork
|
| 22 |
+
- allow_metrics
|
| 23 |
+
emoji: 📊
|
| 24 |
+
colorFrom: blue
|
| 25 |
+
colorTo: indigo
|
| 26 |
+
---
|
| 27 |
+
|
| 28 |
+
# 📊 KKT-HF-MachineLearning-Models
|
| 29 |
+
### 🔧 Ready-to-Use Machine Learning Models for Tabular Classification
|
| 30 |
+
Created by **Thyagharajan K K**
|
| 31 |
+
|
| 32 |
+
**Hugging Face Hub License:** MIT
|
| 33 |
+
**Made with:** Scikit-Learn · Python
|
| 34 |
+
**Supports:** CPU · Forking · HF Metrics
|
| 35 |
+
|
| 36 |
+
---
|
| 37 |
+
|
| 38 |
+
## 📘 Overview
|
| 39 |
+
This repository contains a collection of **pretrained classical Machine Learning models** for **tabular data classification**, such as diabetes prediction.
|
| 40 |
+
|
| 41 |
+
Each model directory includes:
|
| 42 |
+
|
| 43 |
+
- 🧠 Trained `.pkl` ML model
|
| 44 |
+
- 🏷️ Label file: `class_names.txt`
|
| 45 |
+
- 📂 Example test CSVs in `Test/`
|
| 46 |
+
- ⚡ Fully ready for programmatic inference + UI apps
|
| 47 |
+
|
| 48 |
+
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|