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

Public Member Functions

def __init__ (self, total_gens=500)
 
def load_exp_data (self, folder)
 
def plot_curves (self, data, title, labels, y_axis, axes, use_std=False, gen=True)
 
def plot_violins (self, data, title, labels, y_axis, axes)
 
def mwu (self, coverage_data, names)
 
def holm_bonferroni (self, p_values)
 

Public Attributes

 total_gens
 
 colors
 

Constructor & Destructor Documentation

def plot.GenPlot.__init__ (   self,
  total_gens = 500 
)
Constructor
:param total_gens: Total generations to plot

Member Function Documentation

def plot.GenPlot.holm_bonferroni (   self,
  p_values 
)
Holm-Bonferroni method calculator. Prints the correlation between the methods
:param p_values: MWU p values
def plot.GenPlot.load_exp_data (   self,
  folder 
)
Function to load experimental data to plot
:param folder: Folder path in which the data are
:return: If path does not exist: None, None, None. If the path exists: coverage, gen_surprise, archive_size
def plot.GenPlot.mwu (   self,
  coverage_data,
  names 
)
Mann-Whitney U test calculator
:param coverage_data: Data on which to calculate the test
:param names: Methods names
:return:
def plot.GenPlot.plot_curves (   self,
  data,
  title,
  labels,
  y_axis,
  axes,
  use_std = False,
  gen = True 
)
Plot the curves of the data
:param data: List of data lists. Dimensions are: [method, seed, gen]
:param title: Title of the graph
:param labels: Labels of each line
:param y_axis: Label of y axis
:param axes: Pyplot axes
:param use_std: Flag to choose if to use std deviation or min_max for the error bands
:param gen: Generations or number of agents along the x axis
def plot.GenPlot.plot_violins (   self,
  data,
  title,
  labels,
  y_axis,
  axes 
)
Plot violins plots
:param data: List of data lists. Dimensions are: [method, seed, gen]
:param title: Graph title
:param labels: Labels of each line
:param y_axis: Label of y axis
:param axes: Pyplot axes

Member Data Documentation

plot.GenPlot.colors
plot.GenPlot.total_gens

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