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

Allowing the ability to set the initial distribution for real-valued opinion models #250

Open
tommybru opened this issue Aug 17, 2023 · 0 comments

Comments

@tommybru
Copy link

Is your feature request related to a problem? Please describe.
Developers should be able to specify the initial distribution range for opinion models (like AlgorithmicBias and WHK) whose initial status for nodes is a real value

Describe the solution you'd like
Optional model parameters to set the range of the sampling distribution

Describe alternatives you've considered
A function like add_model_initial_configuration that would allow for setting the node status with real-values

Additional context
add_model_initial_configuration does not support numerical real values (it only supports statuses like Infected and Susceptible that are a part of a model's available_statuses). The opinion models with real-valued statuses already override the configuration to draw from random value generators

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

No branches or pull requests

1 participant