Instructions to use Delower/herg-best-deployment with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use Delower/herg-best-deployment with Keras:
# !pip install -U keras tensorflow huggingface_hub # Keras needs TensorFlow installed to read "hf://" paths, so the tensorflow backend is selected here; # "jax" and "torch" also work for computation once TensorFlow is installed. import os os.environ["KERAS_BACKEND"] = "tensorflow" import keras model = keras.saving.load_model("hf://Delower/herg-best-deployment") - Notebooks
- Google Colab
- Kaggle
File size: 1,827 Bytes
45a72ab | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | {
"protocol": "scaffold",
"tasks": {
"cls": {
"metric": "val MCC",
"tree_val_scores": {
"xgb0": 0.5146739288059197,
"xgb1": 0.5333868265371139,
"xgb2": 0.5229651322593131,
"et0": 0.5275331585958475,
"et1": 0.5445124395161229,
"et2": 0.5393742537985894
},
"best_tree": "et1",
"best_tree_params": {
"n_estimators": "600",
"max_features": "0.1",
"min_samples_leaf": "1"
},
"best_tree_family": "et",
"ltn_val_score": 0.5343947191346718,
"ltn_best_epoch": 5,
"ensemble_weight_on_tree": 0.3,
"ensemble_val_score": 0.572916114810234,
"candidate": "ensemble",
"candidate_val_score": 0.572916114810234,
"all_options": {
"tree": 0.5445124395161229,
"ltn": 0.5343947191346718,
"ensemble": 0.572916114810234
}
},
"reg": {
"metric": "val RMSE",
"tree_val_scores": {
"xgb0": 0.6784875707586886,
"xgb1": 0.6754303593923823,
"xgb2": 0.6731428934371697,
"et0": 0.6871135004974613,
"et1": 0.6751806548646565,
"et2": 0.6757366349983194
},
"best_tree": "xgb2",
"best_tree_params": {
"n_estimators": "1400",
"learning_rate": "0.02",
"max_depth": "7",
"subsample": "0.9",
"colsample_bytree": "0.3"
},
"best_tree_family": "xgb",
"ltn_val_score": 0.6696066899210678,
"ltn_best_epoch": 26,
"ensemble_weight_on_tree": 0.5,
"ensemble_val_score": 0.6448816698940266,
"candidate": "ensemble",
"candidate_val_score": 0.6448816698940266,
"all_options": {
"tree": 0.6731428934371697,
"ltn": 0.6696066899210678,
"ensemble": 0.6448816698940266
}
}
}
} |