code: def closenessScores(self, expValues, actValues, fractional=True,):
      
  
      expValue = expValues[0]
      actValue = actValues[0]
  
      if expValue == actValue:
        closeness = 1.0
      else:
        closeness = 0.0
  
      if not fractional:
        closeness = 1.0 - closeness
  
      return numpy.array([closeness])
docs: See the function description in base.py
  
      kwargs will have the keyword "fractional", which is ignored by this encoder