Iterative closure recommender (Simplification Logic)
Source:R/fcaR_helpers.R
iterative_recommender.RdMulti-round attribute recommender: at each step computes
closure(S, reduce = TRUE) (infer + prune the rule-base), then asks
about the still-unknown attribute that appears most often in the LHS of the
active implications.
Usage
iterative_recommender(
fc,
initial = character(0),
max_rounds = 4,
interactive_mode = FALSE,
verbose = TRUE
)Arguments
- fc
A
FormalContextwith implications already computed.- initial
Character vector of attribute names known at the start.
- max_rounds
Maximum number of question rounds.
- interactive_mode
If
TRUEand the session is interactive, ask Yes/No viamenu(); otherwise auto-accept the top suggestion.- verbose
Print progress each round.