Skip to content
New issue

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

Ming/brain cc #89

Draft
wants to merge 229 commits into
base: main
Choose a base branch
from
Draft

Ming/brain cc #89

wants to merge 229 commits into from

Conversation

paulosaurusrex
Copy link
Collaborator

No description provided.

Paulo Soares and others added 30 commits February 2, 2024 16:22
@@ -254,18 +256,34 @@ def _create_coordination(self, bundle):
# 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
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.

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
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
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
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.

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
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