Plots permutation-based feature importances
for a viewpoint regression model as extracted
from the $perm_int
slot.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | plot_perm_int(
x,
labels = x$viewpoint_labels,
axis_label = "Feature importance (bits/chord)",
order_by_label = FALSE,
error_bars = FALSE,
discrete_label = "Discrete",
continuous_label = "Continuous"
)
## S3 method for class 'viewpoint_regression'
plot_perm_int(
x,
labels = x$viewpoint_labels,
axis_label = "Feature importance (bits/chord)",
order_by_label = FALSE,
error_bars = FALSE,
discrete_label = "Discrete",
continuous_label = "Continuous"
)
|
x |
Viewpoint regression model as created with
|
labels |
|
axis_label |
(Character scalar) Axis label. |
order_by_label |
(Logical scalar)
If |
error_bars |
(Logical scalar) Whether or not to plot error bars, which will correspond to the 2.5th/97.5th percentiles of the permutation-importance replicates. These will only be stable for relatively large numbers of replicates (50+). |
discrete_label |
Label to apply to discrete viewpoints. |
continuous_label |
Label to apply to continuous viewpoints. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.