File size: 1,601 Bytes
e215d3c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 | <?php
declare(strict_types=1);
namespace Dochia;
/**
* Generated by python/generate_params_class.py — do not edit by hand.
*
* EMBEDDED PARAMETERS: dochia-v1 only (published priors; no fitted
* weights, no restricted data).
*/
final class ModelParamsFactory
{
public static function literature(): ModelParams
{
return new ModelParams(
version: 'dochia-v1-literature',
popMean: 29.0,
popBetweenSd: 3.5,
withinSdPrior: 2.0,
priorWeight: 4.0,
minMean: 18.0,
maxMean: 90.0,
minWithinVar: 1.44,
maxWithinVar: 36.0,
lutealMean: 14.13,
lutealSd: 1.41,
fertileWindowDays: 6,
ovulationSdFloor: 0.35,
ovulationGridStep: 0.25,
varianceBlend: 1.0,
momentMatch: false,
tailProbBase: 0.1,
tailProbMax: 0.4,
tailProbSdGain: 0.06,
tailProbRangeGain: 0.02,
tailProbGapBonus: 0.2,
tailShiftDays: 3.0,
tailSdMultiplier: 2.2,
trendEwma: 0.4,
trendThreshold: 3.0,
trendMaxShift: 3.0,
bodyScale: 1.0,
tailScaleLow: 1.0,
tailScaleHigh: 1.0,
tailAnchorLow: 0.1,
tailAnchorHigh: 0.9,
calibrationMethod: 'none',
minLength: 15,
maxLength: 120,
hazardMaxDay: 120,
abstainGapDays: 90,
abstainRecentSd: 6.0,
abstainMinCycles: 0,
);
}
}
|