The R2 descriptor is represented as a flattened matrix containing all pairwise Euclidean distances between atoms in a molecule. Since this matrix is symmetric with respect to the interchange of atom indices (i.e., 𝐷 𝑖𝑗 = 𝐷 𝑗𝑖 ), only the lower triangular portion of the R2 matrix is included in the final dataset.