haberman
Study conducted between 1958 and 1970 at the University of Chicago’s Billings Hospital on the survival of patients who had undergone surgery for breast cancer.
Goal: predict whether a patient survived after undergoing surgery for breast cancer.
hab_metrics <- metric_set(accuracy, precision, recall)
lr_fit |> augment(new_data = hab_test) |>
roc_auc(truth = Survival, .pred_Died) |> kable()
.metric | .estimator | .estimate |
---|---|---|
roc_auc | binary | 0.7284879 |
lr_fit |> augment(new_data = hab_test) |>
hab_metrics(truth = Survival, estimate = .pred_class) |> kable()
.metric | .estimator | .estimate |
---|---|---|
accuracy | binary | 0.7692308 |
precision | binary | 0.8000000 |
recall | binary | 0.1904762 |
.metric | .estimator | .estimate |
---|---|---|
roc_auc | binary | 0.7343358 |
.metric | .estimator | .estimate |
---|---|---|
roc_auc | binary | 0.7243108 |
.metric | .estimator | .estimate |
---|---|---|
roc_auc | binary | 0.7251462 |
.metric | .estimator | .estimate |
---|---|---|
accuracy | binary | 0.7692308 |
precision | binary | 0.5714286 |
recall | binary | 0.5714286 |
.metric | .estimator | .estimate |
---|---|---|
accuracy | binary | 0.7435897 |
precision | binary | 0.5217391 |
recall | binary | 0.5714286 |
.metric | .estimator | .estimate |
---|---|---|
accuracy | binary | 0.7435897 |
precision | binary | 0.5217391 |
recall | binary | 0.5714286 |