Skip to content

Commit

Permalink
readme updated for contact matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
manandraj20 committed Dec 5, 2024
1 parent 54fe452 commit a1ed3ba
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ Assumptions
#. The contacts among various age groups is exclusive i.e., every individual, from any given age group, make contact with distinct individuals from other age groups.. In the video, they also took this assumptions.

Algorithm
Computing the contact patterns across the whole country.
*Computing the contact patterns across the whole country.*

#. First, calculate the private counts of the total number of transactions for each city in the dataset.
#. Using these city-level transaction counts, calculate the private counts of the total number of transactions for each age group.
Expand All @@ -145,6 +145,11 @@ Sensitivity and Epsilon Analysis
* Epsilon Budget: The epsilon spent per timestep is ∈ .
* Scale Calculation: ``Scale = (3 * no_of_time_steps * uppper_bound) / ∈``.

Methods of Evaluating Contact Matrix

* Displaying a heatmap of the absolute differences between the ground truth contact matrix and the estimated contact matrix provides a clear visual representation of discrepancies. This helps identify which age group segments show the greatest deviations and in which direction. These insights are valuable for refining the model around specific age groups with larger differences, thereby improving accuracy. Additionally, this method can be extended to track shifts in the contact matrix over time, revealing cross-age group interactions that have increased, decreased, or remained stable. Such trends are instrumental in informing targeted policies.
* Calculating the aggregate sum of the absolute differences between corresponding elements of the ground truth and estimated contact matrices quantifies the overall discrepancy. This metric offers an intuitive understanding of the total divergence between the two matrices in absolute numerical terms, serving as a straightforward and effective measure for model evaluation.

Challenges

* Ensuring the contact matrix accurately reflects transaction participation from different age groups.
Expand Down

0 comments on commit a1ed3ba

Please sign in to comment.