We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Leads to an error about _rules!() keyword parameter not being defined in cases where non-constant factors are provided to SIRUS.
_rules!()
Ignoring constant factors resolves the issue, and probably should be done as part of cluster_rules()
cluster_rules()
fields_iv = ADRIA.component_params(rs_all, [Intervention, CriteriaWeights]).fieldname varying_factor_idx = .!rs_all.model_spec.is_constant varying_factor_names = rs_all.model_spec.fieldname[varying_factor_idx] foi_idx = map(x -> x ∈ varying_factor_names, fields_iv) fields_iv = fields_iv[foi_idx] scenarios_iv = all_scens[:, fields_iv] n_clusters = 4 clusters = ADRIA.analysis.cluster_scenarios(stac, n_clusters) target_clusters = ADRIA.analysis.target_clusters(clusters, stac) max_rules = 4 rules_iv = ADRIA.analysis.cluster_rules(target_clusters, scenarios_iv, max_rules) rules_scatter_fig = ADRIA.viz.rules_scatter( rs_all, scenarios_iv, target_clusters, rules_iv; fig_opts=Dict(:size=>(1000, 800)) # opts=opts )
The text was updated successfully, but these errors were encountered:
Zapiano
Successfully merging a pull request may close this issue.
Leads to an error about
_rules!()
keyword parameter not being defined in cases where non-constant factors are provided to SIRUS.Ignoring constant factors resolves the issue, and probably should be done as part of
cluster_rules()
The text was updated successfully, but these errors were encountered: