Download src/ModelParamsFactory.php from danielpetrica/dochia-cycle-model: direct link, hf CLI and curl.
- Browser
- Download file 1.6 kB
-
https://huggingface.co/danielpetrica/dochia-cycle-model/resolve/main/src/ModelParamsFactory.php
- Command line
-
hf download hf://danielpetrica/dochia-cycle-model/src/ModelParamsFactory.php
-
curl -L -o ModelParamsFactory.php https://huggingface.co/danielpetrica/dochia-cycle-model/resolve/main/src/ModelParamsFactory.php
1.6 kB
| 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, | |
| ); | |
| } | |
| } | |