Downloads · 30 days
0
KubraParmak/pcos-xgboost-model
pcos-xgboost-model is a tabular classification model from KubraParmak. Use it for the tabular classification task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
Polikistik Over Sendromu (PCOS) teşhisini desteklemek amacıyla eğitilmiş XGBoost tabanlı sınıflandırma modelidir.
Downloads · 30 days
0
Access
Public
Updated Jun 28, 2026
Repo size
416 KB
Likes
0
Public
Click a slice to open those files.
.ipynb2.2 MB · 84%
From the Hugging Face model README
Polikistik Over Sendromu (PCOS) teşhisini desteklemek amacıyla eğitilmiş XGBoost tabanlı sınıflandırma modelidir.
| Parametre | Değer |
|---|---|
| Algoritma | XGBoost |
| n_estimators | 300 |
| learning_rate | 0.05 |
| max_depth | 5 |
| scale_pos_weight | 2 (sınıf dengesi) |
| Ön işleme | MinMaxScaler |
| Dosya | Açıklama |
|---|---|
xgboost_model.pkl | Eğitilmiş XGBoost modeli (joblib) |
scaler.pkl | Fit edilmiş MinMaxScaler (joblib) |
feature_names.json | Giriş özelliklerinin sıralı listesi |
Hip, BMI, Avg. F size (R))II beta-HCG sütunundaki bozuk değerler (1.99. gibi) train median'ıyla doldurulduNotebook çıktılarından elde edilen değerleri buraya ekle:
Accuracy : ~0.XX
Precision: ~0.XX (PCOS sınıfı)
Recall : ~0.XX (PCOS sınıfı)
F1-Score : ~0.XX (PCOS sınıfı)
import joblib, json, numpy as np
from huggingface_hub import hf_hub_download
REPO = "KubraParmak/pcos-xgboost-model"
model = joblib.load(hf_hub_download(REPO, "xgboost_model.pkl"))
scaler = joblib.load(hf_hub_download(REPO, "scaler.pkl"))
with open(hf_hub_download(REPO, "feature_names.json")) as f:
features = json.load(f)
# Örnek tahmin (özellik sırası feature_names.json ile aynı olmalı)
X = np.array([[25, 65, 162, 75, 16, 13, 1, 5, ...]])
X_scaled = scaler.transform(X)
pred = model.predict(X_scaled) # 0: Sağlıklı, 1: PCOS
prob = model.predict_proba(X_scaled) # [P(sağlıklı), P(PCOS)]
Kübra Parmak GitHub: KbrPrmk | HuggingFace: KubraParmak