Skip to content

How to: Show single runs of an experiment #55

@oskargirardin

Description

@oskargirardin

We can plot single runs of an experiment as follows:

import cocopp
%matplotlib

# Load the data
dsl = cocopp.load(path_to_experiment_folder)

# Filter by dimension & function id
dim = 20
funcid = 1
ds = dsl.by('dim')[dim].by('funcId')[funcid][0]

# Plot
ds.plot()
# cocopp.config.mpl.pyplot.show()  # if it doesn't show

Image

Note: This usually does not show all evaluations, in particular, evaluations that did not hit the next target are not shown.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions