resultframe
A ResultFrame is a mapping from a config to all results for that config.
class ResultFrame()
#
Bases: Mapping[Union[C, F], List[R]]
Source code in src/mfpbench/resultframe.py
fidelities: Iterator[F]
prop
#
Get the fidelities that have been evaluated.
configs: Iterator[C]
prop
#
Get the configs that have been evaluated.
results: Iterator[R]
prop
#
Get the results that have been evaluated.
def add(result)
#
Add a result to the frame.
Source code in src/mfpbench/resultframe.py
def correlations(at=None, *, method='spearman')
#
The correlation ranksing between stored results.
To calculate the correlations, we select all configs that are present in each selected fidelity.
PARAMETER | DESCRIPTION |
---|---|
at |
The fidelities to get correlations between, defaults to all of them
TYPE:
|
method |
The method to calculate correlations with
TYPE:
|
RETURNS | DESCRIPTION |
---|---|
ndarray
|
The correlation matrix with one row/column per fidelity |