View source: R/sage-internals.R
| sage_aggregate_predictions | R Documentation |
Averages predictions across multiple samples (reference data or conditional samples) for each unique combination of coalition and test instance.
sage_aggregate_predictions(
combined_data,
predictions,
task_type,
class_names = NULL
)
combined_data |
( |
predictions |
( |
task_type |
( |
class_names |
( |
data.table with columns:
.coalition_id: Coalition identifier (integer)
.test_instance_id: Test instance identifier (integer)
For classification: One column per class with averaged probabilities (numeric)
For regression: avg_pred column with averaged predictions (numeric)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.