Giter VIP home page Giter VIP logo

Comments (3)

vesmanojlovic avatar vesmanojlovic commented on June 3, 2024 1

Hi @AngryMaciek, sorry for the late response!!
An init_config_file.dat I've been using a lot lately is

parameters
{
spatial_structure
{
log2_deme_carrying_capacity 7
}
dispersal
{
migration_type 0
init_migration_rate 2e-03
migration_edge_only 1
migration_rate_scales_with_K 1
}
mutation_rates
{
mu_driver_birth 1e-05
mu_passenger 0.001
mu_driver_migration 0.01
passenger_pop_threshold -1
}
fitness_effects
{
normal_birth_rate 0.9
baseline_death_rate 0
s_driver_birth 0.1
s_passenger 0
s_driver_migration 0
max_relative_birth_rate 10
max_relative_migration_rate 10
}
non_biological_parameters
{
init_pop 1
matrix_max -1
max_pop 1000000
max_time 86400
max_generations 2000
seed 10
write_grid 0
write_clones_file 0
write_demes_file 0
record_matrix 0
write_phylo 0
calculate_total_diversity 0
biopsy_size_per_sample 100
}
}

It takes a few seconds to run as is. I mostly vary mu_passenger, s_driver_migration, and s_driver_birth, which can make the execution time get out of hand pretty quickly, so I'd say decent ranges for testing are:
mu_passenger between 0.001 and 0.01;
s_driver_migration between 0 and 0.05;
s_driver_birth between 0.1 and 0.2.
If all of these are at the largest values (particularly s_driver_birth), it takes a couple minutes to execute for max_pop set to 100000 (if it's 1000000 as above, we're talking a while longer), but otherwise shouldn't take more than a few seconds.

from warlock.

AngryMaciek avatar AngryMaciek commented on June 3, 2024

@robjohnnoble : I would like to add more tests to the pipeline - varying different parameters; I don't really know how each of them affects the simulations and what ranges are reasonable. Could you please post here some variants of the conifguration which you especially often try out? I would include them in the CI as additional tests. Preferably on not-so-large population, so that the runtime is reasonable.

from warlock.

AngryMaciek avatar AngryMaciek commented on June 3, 2024

@vesmanojlovic : Could you please help us out here? :)
I would like to refactor the repo to a cleaner state.

from warlock.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.