docs: private double getDistance(Instance sample, Instance sample2)
      {
          double sum=0;
          for (int i=0; i<sample.numInputAttributes(); i++)
          {
              double diff = sample.valueInputAttribute(i)-sample2.valueInputAttribute(i);
              sum += diff*diff;
          }
          return Math.sqrt(sum);
      }