Single decisions that split the model most, taken before the teams start
Source:R/configuration.R
vp_splitting_decisions.RdSingle decisions that split the model most: for each candidate feature, selected and left out, how many features the decision settles and the size of the largest part left (vp_split_after()). The best decisions to take first, together, before the teams start. Every variable feature can be selected and can be left out, so each decision is possible.
Arguments
- model
A model, from
vp_generate()orvp_read(), in its complete or its minimal form.- candidates
The features to try; by default all of them up to 200 features, else the 50 with most links.
Value
A tibble with feature, decision ("selected" or "left out"),
decided, parts and largest_part; the smallest largest part first. Its
attribute "largest_before" is the largest independent part with no
decision.
Examples
band <- vp_generate(vp_example("miband3.uvl"), or_graph = TRUE)
vp_splitting_decisions(band)
#> # A tibble: 22 × 5
#> feature decision decided parts largest_part
#> <chr> <chr> <int> <int> <int>
#> 1 ContactlessPayment selected 11 0 0
#> 2 MovementFilter selected 11 0 0
#> 3 NFC selected 11 0 0
#> 4 BT40 selected 10 1 1
#> 5 CapacityButton left out 10 1 1
#> 6 OLED left out 10 1 1
#> 7 Screen left out 10 1 1
#> 8 BLEv40 selected 9 1 2
#> 9 TouchScreen selected 9 1 2
#> 10 BLEv42 selected 8 1 3
#> # ℹ 12 more rows