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

Compare custom niches, peer exchange, analytic gradients, and alternative tours. More...

Go to the source code of this file.

Functions

 metric_peer_search.jaccard (first, second)
 metric_peer_search.propose_set (rng)
 metric_peer_search.mutate_set (parent, rng)
 metric_peer_search.evaluate_set (group)
 metric_peer_search.medoid_trial (seed, budget)
 metric_peer_search.peer_grid ()
 metric_peer_search.peer_proposal (peer, rng)
 metric_peer_search.peer_mutation (peer, parent, rng)
 metric_peer_search.peer_measurement (genome)
 metric_peer_search.peer_trial (seed, budget)
 metric_peer_search.gradient_design (genome)
 metric_peer_search.gradient_measurement (genome)
 metric_peer_search.gradient_trial (seed, budget)
 metric_peer_search.routing_case ()
 metric_peer_search.tour_cost (matrix, tour)
 metric_peer_search.tours_trial (seed, budget)

Detailed Description

Compare custom niches, peer exchange, analytic gradients, and alternative tours.

Definition in file metric_peer_search.py.

Function Documentation

◆ evaluate_set()

metric_peer_search.evaluate_set ( group)
Score benefits and size on a common scale.

Definition at line 39 of file metric_peer_search.py.

◆ gradient_design()

metric_peer_search.gradient_design ( genome)
Return exact derivatives for an anisotropic objective and two behavior axes.

Definition at line 126 of file metric_peer_search.py.

◆ gradient_measurement()

metric_peer_search.gradient_measurement ( genome)
Score the same objective and descriptors without computing a Jacobian.

Definition at line 139 of file metric_peer_search.py.

◆ gradient_trial()

metric_peer_search.gradient_trial ( seed,
budget )
Isolate Adam using the same branching and admission in both variants.

Definition at line 146 of file metric_peer_search.py.

◆ jaccard()

metric_peer_search.jaccard ( first,
second )
Return Jaccard distance between two feature sets, including empty sets.

Definition at line 22 of file metric_peer_search.py.

◆ medoid_trial()

metric_peer_search.medoid_trial ( seed,
budget )
Compare equal-size niches with a held-out Jaccard target panel.

Definition at line 49 of file metric_peer_search.py.

◆ mutate_set()

metric_peer_search.mutate_set ( parent,
rng )
Toggle one group member within the allowed size range.

Definition at line 32 of file metric_peer_search.py.

◆ peer_grid()

metric_peer_search.peer_grid ( )
A shared reporting geometry for all decentralized peers.

Definition at line 88 of file metric_peer_search.py.

◆ peer_measurement()

metric_peer_search.peer_measurement ( genome)
Reward the ridge of a synthetic landscape across the descriptor axis.

Definition at line 103 of file metric_peer_search.py.

◆ peer_mutation()

metric_peer_search.peer_mutation ( peer,
parent,
rng )
Vary position and quality coordinates with a private draw.

Definition at line 98 of file metric_peer_search.py.

◆ peer_proposal()

metric_peer_search.peer_proposal ( peer,
rng )
Start each peer in a different portion of the descriptor domain.

Definition at line 93 of file metric_peer_search.py.

◆ peer_trial()

metric_peer_search.peer_trial ( seed,
budget )
Compare ring, complete, and local-only search with matched evaluator budgets.

Definition at line 110 of file metric_peer_search.py.

◆ propose_set()

metric_peer_search.propose_set ( rng)
Sample a group of two to five elements.

Definition at line 27 of file metric_peer_search.py.

◆ routing_case()

metric_peer_search.routing_case ( )
Compute the exact optimum of a small symmetric instance outside the search budget.

Definition at line 160 of file metric_peer_search.py.

◆ tour_cost()

metric_peer_search.tour_cost ( matrix,
tour )
Sum the costs of the cyclic tour including the closing edge.

Definition at line 170 of file metric_peer_search.py.

◆ tours_trial()

metric_peer_search.tours_trial ( seed,
budget )
Compare feasible portfolios using segment entropy on every method.

Definition at line 183 of file metric_peer_search.py.