Compare Module Configuration Before and After Optimization
Source:R/optimizer-accessors.R
config_diff.RdShow what configuration values changed during optimization. Useful for understanding the effect of optimization on module settings.
Value
A tibble with columns:
parameter: Parameter namebefore: Value before optimization (or default)after: Current valuechanged: Logical indicating if value changed
See also
Other optimizer accessors:
apply_best_config(),
best_demos(),
best_params(),
export_module_code(),
optimization_result(),
optimization_summary(),
top_trials()
Examples
if (FALSE) {
mod <- module(signature("text -> sentiment"))
optimize_grid(mod, data, metric, parameters = list(temperature = c(0.3, 1.0)))
config_diff(mod)
}