1. 24 Nov, 2020 1 commit
  2. 22 Nov, 2020 1 commit
    • Bentriou Mahmoud's avatar
      Add of a function in models that creates new model objects + tests. · 2a9d3b72
      Bentriou Mahmoud authored
      Add of a major test based on Cosmos: tests/cosmos/distance_F/ER_1D.jl
      
      The LHA distance F of this package is tested with Cosmos.
      For several parameters in R1, R2, R3 experiments (see Bentriou,
      Ballarini, Cournede 2018), Cosmos is called to
      compute an average distance. Then we collect the number of simulations
      and the estimated value computed by Cosmos.
      We compute an average distance by the package methods with the same
      number of simulations done by Cosmos
      
      Then the two average distances are compared to each others with
      regard to the width of the confidence interval set in Cosmos.
      Test passed.
      2a9d3b72
  3. 21 Nov, 2020 2 commits
  4. 19 Nov, 2020 1 commit
  5. 18 Nov, 2020 1 commit
  6. 17 Nov, 2020 1 commit
  7. 16 Nov, 2020 1 commit
  8. 15 Nov, 2020 3 commits
    • Bentriou Mahmoud's avatar
      Type stability for ER · f079f166
      Bentriou Mahmoud authored
      f079f166
    • Bentriou Mahmoud's avatar
      Fix of type instability in SIR model: · 384b4ad7
      Bentriou Mahmoud authored
      - Real => Float64 for better performance (Real is an abstract type)
      - Should not create a type inside the model because the compiler fails
      at estimating the type of the output of the f function (detected with
      @code_warntype)
      - Intentionaly ER is not as well improved as SIR in order to check the
      differences of performance.
      384b4ad7
    • Bentriou Mahmoud's avatar
      - Add of ER model + tests · 06dca928
      Bentriou Mahmoud authored
      - Add of benchmark scripts that compares perf wrt pygmalion.
      => As expected it is bad in terms of reading cost (because of row by row
      matrix read) but it is also not good in terms of simulation cost.
      hcat seems to perform badly, should investigate.
      06dca928