Skip to content

Ming/brain cc#89

Draft
paulosaurusrex wants to merge 229 commits into
mainfrom
ming/brain_cc
Draft

Ming/brain cc#89
paulosaurusrex wants to merge 229 commits into
mainfrom
ming/brain_cc

Conversation

@paulosaurusrex
Copy link
Copy Markdown
Collaborator

No description provided.

Paulo Soares and others added 30 commits February 2, 2024 16:22
# Also include parameters for us to able to set the values of individualism,
# coordination and common cause independently when use the newly implemented 3d
# coordination modules.
coordination = SigmoidGaussianCoordination(
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't want to remove this completely. We still want to use SigmoidGaussianCoordination when common cause is False. You should add an if/else here for bundle.common_cause.

Comment thread coordination/model/real/brain.py Outdated
sd_uc=bundle.sd_uc,
initial_samples=bundle.initial_coordination_samples,
unbounded_coordination_observed_values=given_coordination,
include_common_cause=bundle.enable_common_cause
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This parameter does not exist in the DirichletGaussianCoordination3D or SigmoidGaussianCoordination3D. please look at the constructors of these classes because the other parameters also changed names.

Minglai Yang added 4 commits November 3, 2024 15:00
…undle.common_cause` is False, resume `SigmoidGaussianCoordination` if common cause is not enabled
…ation', update config with options for 'sd_uc_individualism' and 'sd_uc_common_cause', and apply similar changes for 'mean_uc0'. And also add these into config bundle
Comment thread coordination/model/real/brain.py Outdated
mean_mean_uc0=bundle.mean_mean_uc0,
sd_mean_uc0=bundle.sd_mean_uc0,
initial_samples=bundle.initial_coordination_samples,
unbounded_coordination_observed_values=bundle.observed_coordination_for_inference,
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be given_coordination. You need to do the same thing for individualism and common_cause. Create given_individualism and given_common_cause as logits of the unbounded values passed to the config bundle.

Comment thread coordination/model/real/brain.py Outdated
mean_mean_uc0=bundle.mean_mean_uc0,
sd_mean_uc0=bundle.sd_mean_uc0,
initial_samples=bundle.initial_coordination_samples,
unbounded_coordination_observed_values=bundle.observed_coordination_for_inference,
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be given_coordination. You need to do the same thing for individualism and common_cause. Create given_individualism and given_common_cause as logits of the unbounded values passed to the config bundle.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants