def closenessScores(self, expValues, actValues, fractional=True):
expValue = expValues[<NUM_LIT:0>]<EOL>actValue = actValues[<NUM_LIT:0>]<EOL>if expValue == actValue:<EOL><INDENT>closeness = <NUM_LIT:1.0><EOL><DEDENT>else:<EOL><INDENT>closeness = <NUM_LIT:0.0><EOL><DEDENT>if not fractional:<EOL><INDENT>closeness = <NUM_LIT:1.0> - closeness<EOL><DEDENT>return numpy.array([closeness])<EOL>
See the function description in base.py

        kwargs will have the keyword "fractional", which is ignored by this encoder