37 static void Draw(
const char* title,
const Attribution& attr,
int top_k = 10,
float shared_max_abs = -1.0f);
First-class explanation result type – values, method, and metadata together.
Draws a horizontal bar chart of an Attribution's top-k features (hc_information_visualization....
Definition attribution_bar_chart.hpp:24
static void Draw(const char *title, const Attribution &attr, int top_k=10, float shared_max_abs=-1.0f)
Definition acquisition_functions.hpp:16
TopKResult top_k(const Tensor &input, int64_t k, bool largest=true)
Selects the k largest (or smallest) entries of every row along the last dimension.
An explanation result: the raw attribution values, the method that produced them, and any relevant me...
Definition attribution.hpp:23