Are the hubs the same from one version to the next? For each step: the rank
correlation of how many features require each kept feature, and how many of
the top most required stay among the top most required.
Arguments
- history
A history: the versions of a model, from
vp_read_history()orvp_history(), oldest first.- top
How many of the most required features count as hubs.
See also
Other evolution:
vp_attachment(),
vp_auc(),
vp_changed_links(),
vp_co_change(),
vp_community_history(),
vp_compare(),
vp_disruptions(),
vp_edit_type(),
vp_eras(),
vp_feature_churn(),
vp_feature_states(),
vp_flip_flops(),
vp_forecast_size(),
vp_growth(),
vp_history_apply(),
vp_history_changes(),
vp_history_sizes(),
vp_interaction_changes(),
vp_life_cycle(),
vp_link_lifetime(),
vp_prediction_table(),
vp_rename(),
vp_rename_candidates(),
vp_ripple(),
vp_state_moves(),
vp_top_movers(),
vp_version_distance()
Examples
gens <- c("miband1", "miband2", "miband3", "miband4", "miband6")
history <- vp_history(
vp_example(paste0(gens, "_realized.uvl")),
versions = gens,
or_graph = TRUE
)
vp_hub_stability(history, top = 5)
#> # A tibble: 4 × 5
#> step from to spearman top_kept
#> <int> <fct> <fct> <dbl> <int>
#> 1 1 miband1 miband2 NA 0
#> 2 2 miband2 miband3 0.894 4
#> 3 3 miband3 miband4 0.297 3
#> 4 4 miband4 miband6 0.302 3