Hy @Angelina_Robert.
I don’t think so if there’s a proper guide for this specific topic but you can look at distance metrics which employ different techniques to find the similarities between feature. You can use cosine similarity which measure the angle between two vector project in a higher dimensional space.

  
      pytorch.org
  
  
    

CosineSimilarity — PyTorch 1.6.0 documentation 2



  
  
    
    
  
  


It’s already available in pytorch
Also read this article too.

  
      
      AI ASPIRANT – 13 May 19
  
  
    

7 Important Distance Measures in Machine Learning - AI ASPIRANT 3

For algorithms like the k-nearest neighbor and k-means it is essential to measure the distance between the data points. Distance measures in machine learning a