Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: sklearn
|
| 3 |
+
tags:
|
| 4 |
+
- machine-learning
|
| 5 |
+
- software
|
| 6 |
+
- defect-prediction
|
| 7 |
+
- multilabel
|
| 8 |
+
---
|
| 9 |
+
|
| 10 |
+
# Software Defect Logistic Regression
|
| 11 |
+
|
| 12 |
+
Logistic Regression model for multi-label software defect prediction.
|
| 13 |
+
|
| 14 |
+
## Usage
|
| 15 |
+
|
| 16 |
+
```python
|
| 17 |
+
from huggingface_hub import hf_hub_download
|
| 18 |
+
import joblib
|
| 19 |
+
|
| 20 |
+
model_path = hf_hub_download(
|
| 21 |
+
repo_id="Hamza142/software-defect-logistic",
|
| 22 |
+
filename="logistic_regression.pkl"
|
| 23 |
+
)
|
| 24 |
+
model = joblib.load(model_path)
|
| 25 |
+
```
|
| 26 |
+
|
| 27 |
+
Project: Machine Learning Assignment #3 - NUCES University
|