Skip to content

Commit 34f38ba

Browse files
committed
Fix plot labels
1 parent b1b8a97 commit 34f38ba

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

logging/plot_trials.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ def main():
2121

2222
series = [i for i in range(0, len(means))]
2323

24-
plot = Plot("Mean reward per episode, p=0.05")
24+
plot = Plot("Mean reward per episode, p=0.10")
2525
plot.plot_evaluations(series, means, confidences, "Sarsa")
2626
plot.save("figure0")
2727

2828

29-
def mean_confidence_interval(data, confidence=0.95):
29+
def mean_confidence_interval(data, confidence=0.90):
3030
a = 1.0 * np.array(data)
3131
n = len(a)
3232
m, se = np.mean(a), scipy.stats.sem(a)
@@ -56,7 +56,7 @@ class Plot:
5656
def __init__(self, title):
5757
self.ax = pp.axes()
5858
self.ax.set_title(title, fontsize=14, fontweight='bold')
59-
self.ax.set_xlabel('Reward per episode')
59+
self.ax.set_xlabel('Episodes')
6060
self.ax.set_ylabel('Reward')
6161
self.markers = {"o", "D", "^", "8", "h", "s"}
6262

0 commit comments

Comments
 (0)