Git Product home page Git Product logo

stocco's Introduction

Stocco

This is Stocco, final project for the exam Stochastic Modelling and Simulation from MSc in Data Science and Scientific Computing at University of Trieste/SISSA. I took the base model from this paper, and my contribute consisted in adding competition and a spatial structure.

For an overview of the whole project see this presentation.

Note: there is a small error in the code for spatial model, leading to an increasing mutation rate for increasing resolution; because of that, please consider the results on waiting time and efficiency of spatiotemporal algorithms when varying resolution to be wrong.

Note: some of the data in CSV files are not the same used in the slide presentation; the reason is that I ran some additional tests after I had already written the presentation. However, the results are coherent.

What you will find in this repository

  • This README file
  • Zhu-Efficient_simul_population_model_carcinogenesis.pdf: paper used as basis for the project
  • Stocco-Presentation.pdf: slide presentation of the project
  • src/: directory containing all python codes used to run the simulations; contains:
    • stocco_lib.py: library containing all functions used for the simulations
    • fixed_population.py: script used for fixed-population non-spatial simulations
    • dynamic_population.py: script used for dynamic-population non-spatial simulations
    • spatial.py: script used for dynamic-population spatial simulations (naive, actually never used in the project)
    • spatial_ngb.py: script used for dynamic-population spatial simulations (less naive, used in the project)
  • algo_comparison/: directory containing results obtained with all algorithms to compare waiting time and efficiency
  • fitness_comparison/: directory containing results obtained with fixed population and different fitness landscapes to compare the behaviour of the system
  • dynamic_population/: directory containing results obtained with dynamic population to check whether the $\tilde{N}$ parameter is actually able to control the population size
  • spatial_model/: directory containing results for final average genotype distribution in spatial model
  • fitness_graphs/: directory containing scripts for graphs (not interesting)

stocco's People

Contributors

tommasotarchi avatar

Watchers

 avatar

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.