The data and codes that support the findings of the paper entitled "A Siamese neural network for learning the similarity metrics of linear features", https://doi.org/10.1080/13658816.2022.2143505