Views
No views yet
| Model | Accuracy | F1-Score | Features |
|---|---|---|---|
| Random Forest CVD | 73-75% | 72-74% | 12 |
| Random Forest HT | 85-95% | 82-92% | 13 |
| XGBoost CVD | 73-75% | 72-74% | 12 |
| XGBoost HT | 85-95% | 82-92% | 13 |
1import joblib
2from huggingface_hub import hf_hub_download
3
4# Download model
5model_path = hf_hub_download(
6 repo_id="BrawnyCucumber/cvd-ht-prediction",
7 filename="random_forest_cvd.pkl"
8)
9
10# Load and use
11model = joblib.load(model_path)
12prediction = model.predict(X)random_forest_cvd.pkl - CVD predictionrandom_forest_ht.pkl - HT predictionxgboost_cvd.pkl - CVD predictionxgboost_ht.pkl - HT predictionfeature_selector_cvd.pkl - Feature selectionfeature_selector_ht.pkl - Feature selection