def interval_distance(label1, label2):
 try:
  return pow((label1 - label2), 2)
 except:
  print('non-numeric labels not supported with interval distance')

def interval_distance ( label1 , label2 ) : try : return pow ( ( label1 - label2 ) , 2 ) except : print ( 'non-numeric labels not supported with interval distance' )
krippendorffs interval distance metric .