TAXONS  0.1
Task Agnostic eXploration of Outcome spaces through Novelty and Surprise
test_control.Eval Class Reference
Inheritance diagram for test_control.Eval:
Collaboration diagram for test_control.Eval:

Public Member Functions

def __init__ (self, exp_folder=None, reeval_bs=False, targets=100, render_test=False)
 
def load_params (self, path)
 
def generate_targets (self, targets, plot_samples=False)
 
def load_metric (self, load_path)
 
def load_archive (self, load_path)
 
def evaluate_archive_bs (self)
 
def run_test (self)
 
def test_pop (self)
 
def plot_errors (self, errors)
 

Public Attributes

 folder
 
 params
 
 reeval_bs
 
 render_test
 
 seeds
 
 env_tag
 
 env
 
 target_poses
 
 device
 
 selector
 
 pop
 

Constructor & Destructor Documentation

def test_control.Eval.__init__ (   self,
  exp_folder = None,
  reeval_bs = False,
  targets = 100,
  render_test = False 
)

Member Function Documentation

def test_control.Eval.evaluate_archive_bs (   self)
This one calculates the pop bs points. Might not need it cause they are saved, with the pop already
def test_control.Eval.generate_targets (   self,
  targets,
  plot_samples = False 
)
This function generates the target examples on which the agents are going to be tested
:return: target_images, target_poses
def test_control.Eval.load_archive (   self,
  load_path 
)
def test_control.Eval.load_metric (   self,
  load_path 
)
def test_control.Eval.load_params (   self,
  path 
)
def test_control.Eval.plot_errors (   self,
  errors 
)
def test_control.Eval.run_test (   self)
This is the main function that calls the others. It loads all the needed things and runs the test for each seed
:return: displacement errors for each seed
def test_control.Eval.test_pop (   self)
This one tests the pop related to the seed
:return: array of final image states and array of final positional errors

Member Data Documentation

test_control.Eval.device
test_control.Eval.env
test_control.Eval.env_tag
test_control.Eval.folder
test_control.Eval.params
test_control.Eval.pop
test_control.Eval.reeval_bs
test_control.Eval.render_test
test_control.Eval.seeds
test_control.Eval.selector
test_control.Eval.target_poses

The documentation for this class was generated from the following file: