Training an RL Agent to automate flight booking for your travel
In this recipe, you will learn how to implement a deep RL Agent based on the Deep Deterministic Policy Gradient (DDPG) algorithm using TensorFlow 2.x and train the Agent to visually operate flight booking websites using a keyboard and mouse to book flights! This task is quite useful but complicated due to the varying amount of task parameters we need to implement, such as source city, destination, date, and more. The following image shows a sample of the start states from a randomized MiniWoBBookFlightVisualEnv
flight booking environment:
Let's get started!
Getting ready
To complete this recipe, you will need to activate the tf2rl-cookbook
Python/conda virtual environment. Make sure that you update the environment so that it matches the latest conda environment specification...