Skip to content

Commit

Permalink
Fix pandas collumn error
Browse files Browse the repository at this point in the history
  • Loading branch information
Gamenot committed Jan 19, 2021
1 parent 36fb206 commit 8d564be
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion benchmark/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def main(
)
analysis = tune.run(**config["run"])

print(analysis.dataframe(mode="max").head())
print(analysis.dataframe().head())


def parse_args():
Expand Down
2 changes: 1 addition & 1 deletion examples/rllib.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def main(
scheduler=pbt,
)

print(analysis.dataframe(mode="max").head())
print(analysis.dataframe().head())

best_logdir = Path(analysis.get_best_logdir("episode_reward_max"))
model_path = best_logdir / "model"
Expand Down
2 changes: 1 addition & 1 deletion smarts/env/tests/test_learning.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def test_learning_regression_rllib():
config=tune_confg,
)

df = analysis.dataframe(mode=max)
df = analysis.dataframe()

# Lower-bound 95% confidence interval of mean reward after one hour, generated by manual analysis.
# If you need to update this, run tools/regression_rllib.py.
Expand Down

0 comments on commit 8d564be

Please sign in to comment.