Esempio n. 1
0
def get_stats(dataset, idx, games):
    score = compute_metrics(dataset)
    print(games[idx] + ': min_reward: %f, max_reward: %f, mean_reward: %f,'
          ' games_completed: %d' % score)

    return score
Esempio n. 2
0
def get_stats(dataset):
    score = compute_metrics(dataset)
    print(('min_reward: %f, max_reward: %f, mean_reward: %f,'
           ' games_completed: %d' % score))

    return score
Esempio n. 3
0
def get_stats(dataset, logger):
    score = compute_metrics(dataset)
    logger.info(('min_reward: %f, max_reward: %f, mean_reward: %f,'
                 ' episodes_completed: %d' % score))

    return score