Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Commit

Permalink
rebasing, confirming RT is running before refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
big-c-note committed May 18, 2020
1 parent b0b75a1 commit ac11f41
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions research/test_methodology/RT.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
agent1 = TrainedAgent("../blueprint_algo/results_2020_05_10_21_36_47_291425")
# sorta hacky, but I loaded the average strategy above, now I'm replacing with
# the better strategy
offline_strategy = joblib.load('/Users/colin/Downloads/offline_strategy_285800.gz')
#offline_strategy = joblib.load('/Users/colin/Downloads/offline_strategy_285800.gz')
#print(sys.getsizeof(offline_strategy))
# agent1.offline_strategy = offline_strategy
# print(sys.getsizeof(agent1.offline_strategy))
action_sequence = ["raise", "call", "call", "call", "call", "call", "call", "call", "call", "call", "call"]
agent_output = train(offline_strategy, public_cards, action_sequence, 200, 60, 60, 3, 2, 60) # TODO: back to 50
action_sequence = ["raise", "call", "call", "call","call"]
agent_output = train(agent1.offline_strategy, public_cards, action_sequence, 200, 60, 60, 3, 2, 60) # TODO: back to 50
with open('realtime-strategy-off-better-1500.pkl', 'wb') as file:
pickle.dump(agent_output, file)
import ipdb;
Expand Down

0 comments on commit ac11f41

Please sign in to comment.