|
TAXONS
0.1
Task Agnostic eXploration of Outcome spaces through Novelty and Surprise
|
Classes | |
| class | Logger |
| class | LRScheduler |
Functions | |
| def | action_formatting (env_tag, action) |
| def | extact_hd_bs (env, obs, reward=None, done=None, info=None) |
| def | get_projectpath () |
| def | load_maze_image () |
| def | show (bs_points, filepath, name=None, info=None, upper_limit=1.35, lower_limit=-1.35) |
| def | split_array (a, batch_size=32, shuffle=True) |
| def taxons.core.utils.utils.action_formatting | ( | env_tag, | |
| action | |||
| ) |
This function helps reformat the actions according to the environment :param env_tag: Environment name :param action: Action to reformat :return: The formatted action
| def taxons.core.utils.utils.extact_hd_bs | ( | env, | |
| obs, | |||
reward = None, |
|||
done = None, |
|||
info = None |
|||
| ) |
This function helps extract the hand designed BS used to compare the approaches :param env_tag: Environment name :param obs: Observation to reformat :return: The extracted ground truth BS
| def taxons.core.utils.utils.get_projectpath | ( | ) |
Finds the projectpact :return: Absolute path of the project
| def taxons.core.utils.utils.load_maze_image | ( | ) |
Loads the image of the maze for the Fastsim simulator :return: The image of the maze as numpy array
| def taxons.core.utils.utils.show | ( | bs_points, | |
| filepath, | |||
name = None, |
|||
info = None, |
|||
upper_limit = 1.35, |
|||
lower_limit = -1.35 |
|||
| ) |
Shows the coverage of the found solutions in the ground truth space :param bs_points: BS points in the ground truth space :param filepath: Path where to save the image :param name: Name of the plot :param info: Info about the data :param upper_limit: Upper limit of the graph :param lower_limit: Bottom limit of the graph :return: The coverage value
| def taxons.core.utils.utils.split_array | ( | a, | |
batch_size = 32, |
|||
shuffle = True |
|||
| ) |
Splits a data array in arrays of the given batch size :param a: Array to split :param batch_size: Batch size of new arrays :param shuffle: Flag to shuffle the array :return: A list of arrays of batch_size