Instructions to use ShaimaAli1/Smoker_Classifier_Model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Scikit-learn
How to use ShaimaAli1/Smoker_Classifier_Model with Scikit-learn:
from huggingface_hub import hf_hub_download import joblib model = joblib.load( hf_hub_download("ShaimaAli1/Smoker_Classifier_Model", "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
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
## Smoker Classifier Model
|
| 2 |
|
| 3 |
**Objective**:
|
|
@@ -34,6 +41,4 @@ model_path = hf_hub_download(
|
|
| 34 |
repo_id="ShaimaAli1/Smoker_Classifier_Model",
|
| 35 |
filename="Smoker_Classifier_Model.pkl"
|
| 36 |
)
|
| 37 |
-
model = joblib.load(model_path)
|
| 38 |
-
|
| 39 |
-
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
metrics:
|
| 5 |
+
- accuracy
|
| 6 |
+
- precision
|
| 7 |
+
---
|
| 8 |
## Smoker Classifier Model
|
| 9 |
|
| 10 |
**Objective**:
|
|
|
|
| 41 |
repo_id="ShaimaAli1/Smoker_Classifier_Model",
|
| 42 |
filename="Smoker_Classifier_Model.pkl"
|
| 43 |
)
|
| 44 |
+
model = joblib.load(model_path)
|
|
|
|
|
|