QDpy
Loading...
Searching...
No Matches
_archive_comparison.py File Reference

Compare paired archived measurements on common descriptor geometry. More...

Go to the source code of this file.

Classes

class  qdpy._archive_comparison.ArchiveCellComparison
 Matched seed counts and median fitness differences for each reporting cell. More...

Namespaces

namespace  qdpy

Functions

 qdpy._archive_comparison._cell_bests (data, objective, reporting_grid=None)
 qdpy._archive_comparison.compare_archive_cells (reference, contender, *, reporting_grid, objective=0)
 Pair archive measurements by seed and rebin them on a common grid.

Detailed Description

Compare paired archived measurements on common descriptor geometry.

Definition in file _archive_comparison.py.

Function Documentation

◆ _cell_bests()

qdpy._archive_comparison._cell_bests ( data,
objective,
reporting_grid = None )
protected
Return the best raw value and objective direction in each cell.

Definition at line 23 of file _archive_comparison.py.

◆ compare_archive_cells()

qdpy._archive_comparison.compare_archive_cells ( reference,
contender,
* ,
reporting_grid,
objective = 0 )

Pair archive measurements by seed and rebin them on a common grid.

Compare mappings from seed to live archive or portable archive JSON.

Use a common Grid or CVTGrid with the same descriptor meaning for both
methods. In each seed and cell, retain the best finite measurement of
the selected objective. Report occupancy counts and the median of the
within-seed differences where both methods reach the cell. Differences
use raw fitness units with the sign oriented toward improvement.

:param reference: Seed-to-archive mapping for the reference method.
:param contender: Seed-to-archive mapping for the comparison method.
:param reporting_grid: Fixed geometry used to assign measurements to cells.
:param objective: Zero-based index of the selected objective.
:return: An ArchiveCellComparison containing per-cell arrays.

Definition at line 73 of file _archive_comparison.py.