In [1]:
import gym
import pandas as pd
In [2]:
results = gym.monitoring.load_results("/tmp/gym-results/fbs-v1")
In [21]:
len(results['episode_rewards'])
Out[21]:
In [3]:
results.keys()
Out[3]:
In [6]:
%matplotlib inline
res_df = pd.DataFrame(results['episode_rewards'])
res_df.plot(figsize=(16,10))
Out[6]:
In [19]:
pd.rolling_quantile(res_df, 100, 0.5).plot()
Out[19]:
In [14]:
pd.rolling_quantile(res_df, a§a).plot()
Out[14]: