parameters: (model, radiant_query)
return_statement: return (rad_prob + dire_prob) / 2
docstring: Return the probability of the query being in the positive class.
docstring_summary: Return the probability of the query being in the positive class.
docstring_tokens: Return the probability of the query being in the positive class .
function: def score(model, radiant_query):
      '''Return the probability of the query being in the positive class.'''
      dire_query = np.concatenate((radiant_query[NUM_HEROES:NUM_FEATURES], radiant_query[0:NUM_HEROES]))
      rad_prob = model.predict_proba(radiant_query)[0][1]
      dire_prob = model.predict_proba(dire_query)[0][0]
      return (rad_prob + dire_prob) / 2
function_tokens: def score ( model , radiant_query ) : dire_query = np . concatenate ( ( radiant_query [ NUM_HEROES : NUM_FEATURES ] , radiant_query [ 0 : NUM_HEROES ] ) ) rad_prob = model . predict_proba ( radiant_query ) [ 0 ] [ 1 ] dire_prob = model . predict_proba ( dire_query ) [ 0 ] [ 0 ] return ( rad_prob + dire_prob ) / 2