# Evo 2 validation report

- model: `haplograph/genome/evo2_ancestry_gnn.pt`
- graph: `haplograph/genome`
- train: 1,252 individuals (https://data.haploblocks.org/BH_26/splits/half_A.txt)
- test: 1,251 individuals (https://data.haploblocks.org/BH_26/splits/half_B.txt)
- graph individuals in neither set: 45
- graph built on: all individuals (no train_individuals.txt)
- created: 2026-11-13 09:11

## model_info

| | |
|---|---|
| model_file | haplograph/genome/evo2_ancestry_gnn.pt |
| kind | 4a embeddings |
| objective | ancestry |
| graph_method | gnn |
| evo2_model | evo2_7b_base |
| layer | blocks.28.mlp.l3 |
| trained_chromosomes | chr1,chr2,chr3,chr4,chr5,chr6,chr7,chr8,chr9,chr10,chr11,chr12,chr13,chr14,chr15,chr16,chr17,chr18,chr19,chr20,chr21,chr22 |
| fine_tuned_evo2_params | 0 |
| stored_val_loss_before | 1.8301 |
| stored_val_accuracy_before | 0.1133 |
| stored_val_loss_after | 0.0311 |
| stored_val_accuracy_after | 0.9933 |
| test_individuals_seen_in_training | 1136 |

- WARNING: 1,136 of 1,251 test individuals were NOT held out by the model (e.g. ['HG00099', 'HG00105', 'HG00106']), so they were in its training data. Retrain step 4 on the train half only, so the test half stays unseen

## cluster_consistency (permutations=50)

| | |
|---|---|
| regions | 38235 |
| train_individuals | 1252 |
| test_individuals | 1251 |
| mean_clusters_per_region_train | 174.272 |
| mean_clusters_per_region_test | 173.655 |
| mean_clusters_per_region_test_expected | 173.965 |
| regions_outside_95pct_interval | 6.884% (expected ~5%) |
| regions_tvd_p_below_alpha | 2.859% (expected ~5%) |
| regions_chi2_q_below_alpha | 0 |
| test_only_clusters | 4187538 |
| regions_with_test_only_clusters | 35112 |
| verdict | consistent |

- chromosomes with most regions outside the interval: chr20 8.4%, chr6 7.4%, chr22 7.3%
- 4,187,538 clusters are carried in test but not in train: the model never saw them, so predictions involving them are extrapolation
- chi-square p-values treat carrier counts as independent (an individual can carry 2 clusters of a region); the permutation-based columns do not need that assumption
- output: `cluster_consistency_regions.csv.gz`
