milia.benchmark.conditions#
Seeds as named conditions: "lof@s2" is the LOF condition replicated with seed 2.
Treating each seed as its own condition lets a significance test compare a method’s effect against its own seed-to-seed noise.
Functions
|
The condition a replicate belongs to. |
|
The seed of a replicate (0 for the condition itself). |
|
The replicate name of a condition at a seed; seed 0 is the condition itself. |
- milia.benchmark.conditions.name(condition, seed)#
The replicate name of a condition at a seed; seed 0 is the condition itself.
- Parameters:
- Return type:
- Returns:
The replicate name.
Examples
>>> name("lof", 0), name("lof", 2) ('lof', 'lof@s2')
- milia.benchmark.conditions.base(replicate)#
The condition a replicate belongs to.
Examples
>>> base("lof@s2") 'lof'