@memberjunction/predictive-studio 6.2.2 → 6.3.0-edge.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -11
- package/dist/actions/base-predictive-studio.action.d.ts +7 -0
- package/dist/actions/base-predictive-studio.action.d.ts.map +1 -1
- package/dist/actions/base-predictive-studio.action.js +22 -0
- package/dist/actions/base-predictive-studio.action.js.map +1 -1
- package/dist/actions/driver-classes.d.ts +2 -0
- package/dist/actions/driver-classes.d.ts.map +1 -1
- package/dist/actions/driver-classes.js +2 -0
- package/dist/actions/driver-classes.js.map +1 -1
- package/dist/actions/evaluate-drift.action.d.ts +100 -0
- package/dist/actions/evaluate-drift.action.d.ts.map +1 -0
- package/dist/actions/evaluate-drift.action.js +512 -0
- package/dist/actions/evaluate-drift.action.js.map +1 -0
- package/dist/actions/index.d.ts +3 -0
- package/dist/actions/index.d.ts.map +1 -1
- package/dist/actions/index.js +7 -0
- package/dist/actions/index.js.map +1 -1
- package/dist/actions/migrate-pipelines.action.d.ts +19 -0
- package/dist/actions/migrate-pipelines.action.d.ts.map +1 -0
- package/dist/actions/migrate-pipelines.action.js +51 -0
- package/dist/actions/migrate-pipelines.action.js.map +1 -0
- package/dist/actions/promote-model.action.d.ts +12 -1
- package/dist/actions/promote-model.action.d.ts.map +1 -1
- package/dist/actions/promote-model.action.js +7 -2
- package/dist/actions/promote-model.action.js.map +1 -1
- package/dist/actions/promote-model.gate.d.ts +31 -2
- package/dist/actions/promote-model.gate.d.ts.map +1 -1
- package/dist/actions/promote-model.gate.js +84 -5
- package/dist/actions/promote-model.gate.js.map +1 -1
- package/dist/actions/run-experiment.action.d.ts.map +1 -1
- package/dist/actions/run-experiment.action.js +5 -4
- package/dist/actions/run-experiment.action.js.map +1 -1
- package/dist/actions/schedule-model-scoring.action.js +2 -2
- package/dist/actions/schedule-model-scoring.action.js.map +1 -1
- package/dist/actions/score-record-set.action.js +1 -1
- package/dist/actions/score-record-set.action.js.map +1 -1
- package/dist/actions/score-record-set.runner.d.ts +2 -2
- package/dist/actions/score-record-set.runner.js +3 -3
- package/dist/actions/score-record-set.runner.js.map +1 -1
- package/dist/actions/train-model.action.d.ts +28 -25
- package/dist/actions/train-model.action.d.ts.map +1 -1
- package/dist/actions/train-model.action.js +50 -39
- package/dist/actions/train-model.action.js.map +1 -1
- package/dist/agent/index.d.ts +1 -1
- package/dist/agent/index.js +1 -1
- package/dist/agent/modeling-plan-to-pipeline.d.ts +0 -2
- package/dist/agent/modeling-plan-to-pipeline.d.ts.map +1 -1
- package/dist/agent/modeling-plan-to-pipeline.js +30 -39
- package/dist/agent/modeling-plan-to-pipeline.js.map +1 -1
- package/dist/agent/pipeline-builder-agent.d.ts +47 -18
- package/dist/agent/pipeline-builder-agent.d.ts.map +1 -1
- package/dist/agent/pipeline-builder-agent.js +161 -92
- package/dist/agent/pipeline-builder-agent.js.map +1 -1
- package/dist/agent/pipeline-builder.d.ts +178 -56
- package/dist/agent/pipeline-builder.d.ts.map +1 -1
- package/dist/agent/pipeline-builder.js +333 -234
- package/dist/agent/pipeline-builder.js.map +1 -1
- package/dist/experiment/budget.d.ts +61 -0
- package/dist/experiment/budget.d.ts.map +1 -0
- package/dist/experiment/budget.js +72 -0
- package/dist/experiment/budget.js.map +1 -0
- package/dist/experiment/experiment-orchestrator.d.ts +43 -7
- package/dist/experiment/experiment-orchestrator.d.ts.map +1 -1
- package/dist/experiment/experiment-orchestrator.js +130 -33
- package/dist/experiment/experiment-orchestrator.js.map +1 -1
- package/dist/experiment/index.d.ts +2 -0
- package/dist/experiment/index.d.ts.map +1 -1
- package/dist/experiment/index.js +2 -0
- package/dist/experiment/index.js.map +1 -1
- package/dist/experiment/leaderboard.d.ts +15 -15
- package/dist/experiment/leaderboard.d.ts.map +1 -1
- package/dist/experiment/leaderboard.js +44 -18
- package/dist/experiment/leaderboard.js.map +1 -1
- package/dist/experiment/scores.d.ts +32 -0
- package/dist/experiment/scores.d.ts.map +1 -0
- package/dist/experiment/scores.js +62 -0
- package/dist/experiment/scores.js.map +1 -0
- package/dist/experiment/seams.d.ts +23 -20
- package/dist/experiment/seams.d.ts.map +1 -1
- package/dist/experiment/seams.js +54 -56
- package/dist/experiment/seams.js.map +1 -1
- package/dist/experiment/types.d.ts +55 -10
- package/dist/experiment/types.d.ts.map +1 -1
- package/dist/experiment/types.js.map +1 -1
- package/dist/feature-assembly/as-of/as-of-assembler.d.ts +412 -0
- package/dist/feature-assembly/as-of/as-of-assembler.d.ts.map +1 -0
- package/dist/feature-assembly/as-of/as-of-assembler.js +1239 -0
- package/dist/feature-assembly/as-of/as-of-assembler.js.map +1 -0
- package/dist/feature-assembly/as-of/feature-resolution.d.ts +84 -0
- package/dist/feature-assembly/as-of/feature-resolution.d.ts.map +1 -0
- package/dist/feature-assembly/as-of/feature-resolution.js +229 -0
- package/dist/feature-assembly/as-of/feature-resolution.js.map +1 -0
- package/dist/feature-assembly/as-of/index.d.ts +15 -0
- package/dist/feature-assembly/as-of/index.d.ts.map +1 -0
- package/dist/feature-assembly/as-of/index.js +15 -0
- package/dist/feature-assembly/as-of/index.js.map +1 -0
- package/dist/feature-assembly/as-of/read-by-keys.d.ts +30 -0
- package/dist/feature-assembly/as-of/read-by-keys.d.ts.map +1 -0
- package/dist/feature-assembly/as-of/read-by-keys.js +51 -0
- package/dist/feature-assembly/as-of/read-by-keys.js.map +1 -0
- package/dist/feature-assembly/as-of/record-history.d.ts +256 -0
- package/dist/feature-assembly/as-of/record-history.d.ts.map +1 -0
- package/dist/feature-assembly/as-of/record-history.js +505 -0
- package/dist/feature-assembly/as-of/record-history.js.map +1 -0
- package/dist/feature-assembly/as-of/refusal.d.ts +19 -0
- package/dist/feature-assembly/as-of/refusal.d.ts.map +1 -0
- package/dist/feature-assembly/as-of/refusal.js +13 -0
- package/dist/feature-assembly/as-of/refusal.js.map +1 -0
- package/dist/feature-assembly/as-of/series-features.d.ts +65 -0
- package/dist/feature-assembly/as-of/series-features.d.ts.map +1 -0
- package/dist/feature-assembly/as-of/series-features.js +97 -0
- package/dist/feature-assembly/as-of/series-features.js.map +1 -0
- package/dist/feature-assembly/as-of/windowed-aggregate.d.ts +36 -0
- package/dist/feature-assembly/as-of/windowed-aggregate.d.ts.map +1 -0
- package/dist/feature-assembly/as-of/windowed-aggregate.js +99 -0
- package/dist/feature-assembly/as-of/windowed-aggregate.js.map +1 -0
- package/dist/feature-assembly/as-of.d.ts +1 -9
- package/dist/feature-assembly/as-of.d.ts.map +1 -1
- package/dist/feature-assembly/as-of.js +2 -19
- package/dist/feature-assembly/as-of.js.map +1 -1
- package/dist/feature-assembly/assembly-metadata.d.ts +34 -0
- package/dist/feature-assembly/assembly-metadata.d.ts.map +1 -0
- package/dist/feature-assembly/assembly-metadata.js +26 -0
- package/dist/feature-assembly/assembly-metadata.js.map +1 -0
- package/dist/feature-assembly/data-access.d.ts +21 -2
- package/dist/feature-assembly/data-access.d.ts.map +1 -1
- package/dist/feature-assembly/data-access.js +14 -0
- package/dist/feature-assembly/data-access.js.map +1 -1
- package/dist/feature-assembly/feature-assembly-executor.d.ts.map +1 -1
- package/dist/feature-assembly/feature-assembly-executor.js +5 -2
- package/dist/feature-assembly/feature-assembly-executor.js.map +1 -1
- package/dist/feature-assembly/index.d.ts +3 -0
- package/dist/feature-assembly/index.d.ts.map +1 -1
- package/dist/feature-assembly/index.js +3 -0
- package/dist/feature-assembly/index.js.map +1 -1
- package/dist/feature-assembly/leakage-guard.d.ts +1 -1
- package/dist/feature-assembly/leakage-guard.js +1 -1
- package/dist/feature-assembly/read-policy.d.ts +27 -0
- package/dist/feature-assembly/read-policy.d.ts.map +1 -0
- package/dist/feature-assembly/read-policy.js +63 -0
- package/dist/feature-assembly/read-policy.js.map +1 -0
- package/dist/feature-pipelines/feature-pipeline-engine.d.ts.map +1 -1
- package/dist/feature-pipelines/feature-pipeline-engine.js +3 -1
- package/dist/feature-pipelines/feature-pipeline-engine.js.map +1 -1
- package/dist/index.d.ts +5 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +16 -4
- package/dist/index.js.map +1 -1
- package/dist/maintenance/index.d.ts +1 -0
- package/dist/maintenance/index.d.ts.map +1 -1
- package/dist/maintenance/index.js +1 -0
- package/dist/maintenance/index.js.map +1 -1
- package/dist/maintenance/maintenance-engine.d.ts +16 -19
- package/dist/maintenance/maintenance-engine.d.ts.map +1 -1
- package/dist/maintenance/maintenance-engine.js +53 -53
- package/dist/maintenance/maintenance-engine.js.map +1 -1
- package/dist/maintenance/metrics.d.ts +19 -15
- package/dist/maintenance/metrics.d.ts.map +1 -1
- package/dist/maintenance/metrics.js +29 -24
- package/dist/maintenance/metrics.js.map +1 -1
- package/dist/maintenance/psi-drift-detector.d.ts +246 -0
- package/dist/maintenance/psi-drift-detector.d.ts.map +1 -0
- package/dist/maintenance/psi-drift-detector.js +1002 -0
- package/dist/maintenance/psi-drift-detector.js.map +1 -0
- package/dist/maintenance/types.d.ts +11 -2
- package/dist/maintenance/types.d.ts.map +1 -1
- package/dist/maintenance/types.js.map +1 -1
- package/dist/migration/index.d.ts +8 -0
- package/dist/migration/index.d.ts.map +1 -0
- package/dist/migration/index.js +8 -0
- package/dist/migration/index.js.map +1 -0
- package/dist/migration/legacy-pipeline-migration.d.ts +138 -0
- package/dist/migration/legacy-pipeline-migration.d.ts.map +1 -0
- package/dist/migration/legacy-pipeline-migration.js +273 -0
- package/dist/migration/legacy-pipeline-migration.js.map +1 -0
- package/dist/operations/delegation.d.ts +58 -46
- package/dist/operations/delegation.d.ts.map +1 -1
- package/dist/operations/delegation.js +90 -77
- package/dist/operations/delegation.js.map +1 -1
- package/dist/operations/promote-model.operation.d.ts +2 -2
- package/dist/operations/promote-model.operation.d.ts.map +1 -1
- package/dist/operations/promote-model.operation.js +6 -2
- package/dist/operations/promote-model.operation.js.map +1 -1
- package/dist/operations/refusals.d.ts +5 -0
- package/dist/operations/refusals.d.ts.map +1 -1
- package/dist/operations/refusals.js +26 -1
- package/dist/operations/refusals.js.map +1 -1
- package/dist/operations/start-experiment-session.operation.js +3 -3
- package/dist/operations/train-model.mapping.d.ts +91 -0
- package/dist/operations/train-model.mapping.d.ts.map +1 -0
- package/dist/operations/train-model.mapping.js +145 -0
- package/dist/operations/train-model.mapping.js.map +1 -0
- package/dist/operations/train-model.operation.d.ts +14 -9
- package/dist/operations/train-model.operation.d.ts.map +1 -1
- package/dist/operations/train-model.operation.js +30 -51
- package/dist/operations/train-model.operation.js.map +1 -1
- package/dist/prediction-unit/decision-date-advance.d.ts +46 -0
- package/dist/prediction-unit/decision-date-advance.d.ts.map +1 -0
- package/dist/prediction-unit/decision-date-advance.js +79 -0
- package/dist/prediction-unit/decision-date-advance.js.map +1 -0
- package/dist/prediction-unit/index.d.ts +12 -0
- package/dist/prediction-unit/index.d.ts.map +1 -0
- package/dist/prediction-unit/index.js +12 -0
- package/dist/prediction-unit/index.js.map +1 -0
- package/dist/prediction-unit/target-validation.d.ts +21 -0
- package/dist/prediction-unit/target-validation.d.ts.map +1 -0
- package/dist/prediction-unit/target-validation.js +54 -0
- package/dist/prediction-unit/target-validation.js.map +1 -0
- package/dist/prediction-unit/unit-row-reader.d.ts +108 -0
- package/dist/prediction-unit/unit-row-reader.d.ts.map +1 -0
- package/dist/prediction-unit/unit-row-reader.js +348 -0
- package/dist/prediction-unit/unit-row-reader.js.map +1 -0
- package/dist/prediction-unit/unit-store.d.ts +28 -0
- package/dist/prediction-unit/unit-store.d.ts.map +1 -0
- package/dist/prediction-unit/unit-store.js +41 -0
- package/dist/prediction-unit/unit-store.js.map +1 -0
- package/dist/prediction-unit/unit-versioning.d.ts +43 -0
- package/dist/prediction-unit/unit-versioning.d.ts.map +1 -0
- package/dist/prediction-unit/unit-versioning.js +71 -0
- package/dist/prediction-unit/unit-versioning.js.map +1 -0
- package/dist/protocol/index.d.ts +9 -0
- package/dist/protocol/index.d.ts.map +1 -0
- package/dist/protocol/index.js +9 -0
- package/dist/protocol/index.js.map +1 -0
- package/dist/protocol/protocol-defaults.d.ts +37 -0
- package/dist/protocol/protocol-defaults.d.ts.map +1 -0
- package/dist/protocol/protocol-defaults.js +59 -0
- package/dist/protocol/protocol-defaults.js.map +1 -0
- package/dist/protocol/protocol-versioning.d.ts +46 -0
- package/dist/protocol/protocol-versioning.d.ts.map +1 -0
- package/dist/protocol/protocol-versioning.js +48 -0
- package/dist/protocol/protocol-versioning.js.map +1 -0
- package/dist/protocol/search-guard.d.ts +45 -0
- package/dist/protocol/search-guard.d.ts.map +1 -0
- package/dist/protocol/search-guard.js +50 -0
- package/dist/protocol/search-guard.js.map +1 -0
- package/dist/scoring/artifact-loader.d.ts +5 -32
- package/dist/scoring/artifact-loader.d.ts.map +1 -1
- package/dist/scoring/artifact-loader.js +4 -59
- package/dist/scoring/artifact-loader.js.map +1 -1
- package/dist/scoring/auto-train.d.ts +25 -5
- package/dist/scoring/auto-train.d.ts.map +1 -1
- package/dist/scoring/auto-train.js +48 -31
- package/dist/scoring/auto-train.js.map +1 -1
- package/dist/scoring/index.d.ts +3 -0
- package/dist/scoring/index.d.ts.map +1 -1
- package/dist/scoring/index.js +3 -0
- package/dist/scoring/index.js.map +1 -1
- package/dist/scoring/ml-model-inference-processor.d.ts +137 -10
- package/dist/scoring/ml-model-inference-processor.d.ts.map +1 -1
- package/dist/scoring/ml-model-inference-processor.js +383 -40
- package/dist/scoring/ml-model-inference-processor.js.map +1 -1
- package/dist/scoring/model-readiness.d.ts +45 -0
- package/dist/scoring/model-readiness.d.ts.map +1 -1
- package/dist/scoring/model-readiness.js +49 -0
- package/dist/scoring/model-readiness.js.map +1 -1
- package/dist/scoring/register.d.ts +8 -3
- package/dist/scoring/register.d.ts.map +1 -1
- package/dist/scoring/register.js +28 -4
- package/dist/scoring/register.js.map +1 -1
- package/dist/scoring/seams.d.ts +18 -2
- package/dist/scoring/seams.d.ts.map +1 -1
- package/dist/scoring/seams.js +35 -10
- package/dist/scoring/seams.js.map +1 -1
- package/dist/scoring/shadow-scoring.d.ts +245 -0
- package/dist/scoring/shadow-scoring.d.ts.map +1 -0
- package/dist/scoring/shadow-scoring.js +510 -0
- package/dist/scoring/shadow-scoring.js.map +1 -0
- package/dist/scoring/startup-register.d.ts +3 -3
- package/dist/scoring/startup-register.d.ts.map +1 -1
- package/dist/scoring/startup-register.js +10 -4
- package/dist/scoring/startup-register.js.map +1 -1
- package/dist/scoring/storage-provider-artifact-loader.d.ts +14 -0
- package/dist/scoring/storage-provider-artifact-loader.d.ts.map +1 -0
- package/dist/scoring/storage-provider-artifact-loader.js +47 -0
- package/dist/scoring/storage-provider-artifact-loader.js.map +1 -0
- package/dist/scoring/training-keys.d.ts +27 -0
- package/dist/scoring/training-keys.d.ts.map +1 -0
- package/dist/scoring/training-keys.js +54 -0
- package/dist/scoring/training-keys.js.map +1 -0
- package/dist/scoring/types.d.ts +72 -7
- package/dist/scoring/types.d.ts.map +1 -1
- package/dist/scoring/types.js +4 -0
- package/dist/scoring/types.js.map +1 -1
- package/dist/sidecar-provider.d.ts +2 -2
- package/dist/sidecar-provider.js +3 -3
- package/dist/snapshot/code-version.d.ts +16 -0
- package/dist/snapshot/code-version.d.ts.map +1 -0
- package/dist/snapshot/code-version.js +39 -0
- package/dist/snapshot/code-version.js.map +1 -0
- package/dist/snapshot/holdout-carver.d.ts +110 -0
- package/dist/snapshot/holdout-carver.d.ts.map +1 -0
- package/dist/snapshot/holdout-carver.js +171 -0
- package/dist/snapshot/holdout-carver.js.map +1 -0
- package/dist/snapshot/index.d.ts +17 -0
- package/dist/snapshot/index.d.ts.map +1 -0
- package/dist/snapshot/index.js +17 -0
- package/dist/snapshot/index.js.map +1 -0
- package/dist/snapshot/snapshot-builder.d.ts +152 -0
- package/dist/snapshot/snapshot-builder.d.ts.map +1 -0
- package/dist/snapshot/snapshot-builder.js +286 -0
- package/dist/snapshot/snapshot-builder.js.map +1 -0
- package/dist/snapshot/snapshot-file-store.d.ts +161 -0
- package/dist/snapshot/snapshot-file-store.d.ts.map +1 -0
- package/dist/snapshot/snapshot-file-store.js +204 -0
- package/dist/snapshot/snapshot-file-store.js.map +1 -0
- package/dist/snapshot/snapshot-hash.d.ts +6 -0
- package/dist/snapshot/snapshot-hash.d.ts.map +1 -0
- package/dist/snapshot/snapshot-hash.js +16 -0
- package/dist/snapshot/snapshot-hash.js.map +1 -0
- package/dist/snapshot/snapshot-manifest.d.ts +43 -0
- package/dist/snapshot/snapshot-manifest.d.ts.map +1 -0
- package/dist/snapshot/snapshot-manifest.js +43 -0
- package/dist/snapshot/snapshot-manifest.js.map +1 -0
- package/dist/snapshot/snapshot-retrainer.d.ts +107 -0
- package/dist/snapshot/snapshot-retrainer.d.ts.map +1 -0
- package/dist/snapshot/snapshot-retrainer.js +194 -0
- package/dist/snapshot/snapshot-retrainer.js.map +1 -0
- package/dist/snapshot/snapshot-serialization.d.ts +99 -0
- package/dist/snapshot/snapshot-serialization.d.ts.map +1 -0
- package/dist/snapshot/snapshot-serialization.js +191 -0
- package/dist/snapshot/snapshot-serialization.js.map +1 -0
- package/dist/snapshot/training-snapshot-store.d.ts +38 -0
- package/dist/snapshot/training-snapshot-store.d.ts.map +1 -0
- package/dist/snapshot/training-snapshot-store.js +41 -0
- package/dist/snapshot/training-snapshot-store.js.map +1 -0
- package/dist/storage/ps-storage-provider.d.ts +108 -0
- package/dist/storage/ps-storage-provider.d.ts.map +1 -0
- package/dist/storage/ps-storage-provider.js +154 -0
- package/dist/storage/ps-storage-provider.js.map +1 -0
- package/dist/training/artifact-store.d.ts +12 -103
- package/dist/training/artifact-store.d.ts.map +1 -1
- package/dist/training/artifact-store.js +13 -137
- package/dist/training/artifact-store.js.map +1 -1
- package/dist/training/compute-cost.d.ts +23 -0
- package/dist/training/compute-cost.d.ts.map +1 -0
- package/dist/training/compute-cost.js +36 -0
- package/dist/training/compute-cost.js.map +1 -0
- package/dist/training/evaluation-protocol-store.d.ts +53 -0
- package/dist/training/evaluation-protocol-store.d.ts.map +1 -0
- package/dist/training/evaluation-protocol-store.js +54 -0
- package/dist/training/evaluation-protocol-store.js.map +1 -0
- package/dist/training/index.d.ts +9 -1
- package/dist/training/index.d.ts.map +1 -1
- package/dist/training/index.js +9 -1
- package/dist/training/index.js.map +1 -1
- package/dist/training/locked-holdout.d.ts +19 -4
- package/dist/training/locked-holdout.d.ts.map +1 -1
- package/dist/training/locked-holdout.js +29 -5
- package/dist/training/locked-holdout.js.map +1 -1
- package/dist/training/seams.d.ts +34 -8
- package/dist/training/seams.d.ts.map +1 -1
- package/dist/training/seams.js +74 -18
- package/dist/training/seams.js.map +1 -1
- package/dist/training/storage-provider-artifact-store.d.ts +49 -0
- package/dist/training/storage-provider-artifact-store.d.ts.map +1 -0
- package/dist/training/storage-provider-artifact-store.js +147 -0
- package/dist/training/storage-provider-artifact-store.js.map +1 -0
- package/dist/training/trainer-model-lineage.d.ts +32 -0
- package/dist/training/trainer-model-lineage.d.ts.map +1 -0
- package/dist/training/trainer-model-lineage.js +62 -0
- package/dist/training/trainer-model-lineage.js.map +1 -0
- package/dist/training/trainer-request.d.ts +50 -0
- package/dist/training/trainer-request.d.ts.map +1 -0
- package/dist/training/trainer-request.js +65 -0
- package/dist/training/trainer-request.js.map +1 -0
- package/dist/training/trainer-result.d.ts +30 -0
- package/dist/training/trainer-result.d.ts.map +1 -0
- package/dist/training/trainer-result.js +40 -0
- package/dist/training/trainer-result.js.map +1 -0
- package/dist/training/training-engine.d.ts +417 -64
- package/dist/training/training-engine.d.ts.map +1 -1
- package/dist/training/training-engine.js +869 -178
- package/dist/training/training-engine.js.map +1 -1
- package/dist/training/training-refusal.d.ts +15 -0
- package/dist/training/training-refusal.d.ts.map +1 -0
- package/dist/training/training-refusal.js +62 -0
- package/dist/training/training-refusal.js.map +1 -0
- package/dist/training/types.d.ts +133 -41
- package/dist/training/types.d.ts.map +1 -1
- package/dist/training/types.js +4 -4
- package/dist/training/unit-model-lineage.d.ts +72 -0
- package/dist/training/unit-model-lineage.d.ts.map +1 -0
- package/dist/training/unit-model-lineage.js +288 -0
- package/dist/training/unit-model-lineage.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +16 -13
- package/dist/operations/__tests__/helpers.d.ts +0 -30
- package/dist/operations/__tests__/helpers.d.ts.map +0 -1
- package/dist/operations/__tests__/helpers.js +0 -44
- package/dist/operations/__tests__/helpers.js.map +0 -1
|
@@ -1,95 +1,448 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @module training/training-engine
|
|
3
3
|
*
|
|
4
|
-
* The **TrainingEngine** — Predictive Studio's training orchestrator
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
4
|
+
* The **TrainingEngine** — Predictive Studio's training orchestrator. Every pipeline trains under the Prediction
|
|
5
|
+
* Unit and the Evaluation Protocol version it is bound to, and the run produces an **immutable, versioned
|
|
6
|
+
* `MJ: ML Models`** row (when the gate ships an artifact) plus the `MJ: ML Training Runs` row that recorded the attempt.
|
|
7
|
+
* A pipeline without a Prediction Unit is refused before any run row is written (`unit-required`): the "Migrate
|
|
8
|
+
* Pipelines to Prediction Units and Evaluation Protocols" Action binds one, or holds the pipeline with the reason.
|
|
9
9
|
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
10
|
+
* A pipeline is trained only under the Evaluation Protocol version its `EvaluationProtocolID` names: a pipeline without one, a missing
|
|
11
|
+
* protocol row, a row that does not parse, or more candidates than the protocol's budget allows are
|
|
12
|
+
* refused before any run row is written, and so is a pipeline that declares a time index
|
|
13
|
+
* (`ValidationStrategy.TimeIndexColumn`) under a protocol whose holdout does not respect time (seeded-random:
|
|
14
|
+
* `time-index-needs-time-holdout`), and so is a pipeline whose stored AsOfStrategy the unit overrides (`input-not-accepted`); deps without a snapshot
|
|
15
|
+
* file store or a trainer fail there too. Only then does an advancing fixed decision date move to the run's day (a new
|
|
16
|
+
* unit version). The protocol row must predate the run row, and a protocol
|
|
17
|
+
* that does not fit the unit is refused on the run. The unit row reader then reads every unit row
|
|
18
|
+
* (censored and label-known rows excluded and counted), the target is validated, and the matrix is
|
|
19
|
+
* assembled as of each row's decision date by {@link TrainingEngine.AssembleForTraining} — the same
|
|
20
|
+
* `AsOfFeatureAssembler` the scoring path calls. The assembled rows are frozen into an immutable
|
|
21
|
+
* Training Snapshot (the locked holdout is the one the protocol declares: a date carve on its cutoff, with
|
|
22
|
+
* rows on or after its `holdoutEnd` left out of the snapshot; a seeded row-hash carve; or a forecast's
|
|
23
|
+
* rolling-origin test periods; identical content reuses the existing snapshot; the protocol decides the
|
|
24
|
+
* incumbent-score and slice columns). The protocol trainer (`TrainingDeps.trainer`) is sent pre-authorised downloads of the
|
|
25
|
+
* snapshot files, its result is recorded on the run (compute, code version), and the gate is decided
|
|
26
|
+
* in TypeScript ({@link GateRecords.BuildStoredGateRecord}): a sidecar decision that differs from the transcription
|
|
27
|
+
* refuses the run (`sidecar-gate-mismatch`). Every returned artifact is stored in `MJ: Files`, and the model row is
|
|
28
|
+
* created from the artifact the decision ships only: the finalist's for `model` (with the trainer's held-out
|
|
29
|
+
* permutation importance), the kept simple baseline member's for `keep-simple-baseline`, and none for `no-signal` or
|
|
30
|
+
* a kept heuristic rule. A single feature dominating the finalist's importance flags the run (a LEAKAGE WARNING note on the
|
|
31
|
+
* run) and the model stays `Draft`; every trainer model's Lineage records that leakage audit, so a kept baseline (whose
|
|
32
|
+
* own importance is `{}`) is judged by it at promotion. A shipped finalist of a probability task whose holdout
|
|
33
|
+
* calibration hides its family ({@link TrainerContract.CalibrationHidesFamily}) is held: a CALIBRATION HOLD note on
|
|
34
|
+
* the run and a `calibrationHold` on its Lineage, which the promotion gate never lets through. The run stores the
|
|
35
|
+
* trainer's result with its artifacts
|
|
36
|
+
* as file references, never their bytes, the unit resolution counts, the holdout carve's summary, the gate record and
|
|
37
|
+
* the request settings a retrain replays; the model Lineage names the unit version, the typed feature columns, the kept
|
|
38
|
+
* categorical levels scoring reuses, the snapshot's ID and content hash, and the protocol. A refusal
|
|
39
|
+
* is recorded on the run as a `refused` envelope ({@link TrainingRefusedError}); a failed trainer
|
|
40
|
+
* result is a `trainer` refusal.
|
|
30
41
|
*
|
|
31
42
|
* Every external dependency is injected (see {@link TrainingDeps}) so the engine
|
|
32
43
|
* is unit-testable with no live database and no live sidecar.
|
|
33
44
|
*/
|
|
34
|
-
import {
|
|
45
|
+
import { type SourceBinding, type AsOfStrategy, type LeakageGuard, type ValidationStrategy, type ProblemType, type FeatureStepGraph, type OutcomeConfig, type PredictionUnitSpec, type FeatureColumnSpec, type EvaluationProtocolSpec, type BaselineSpec, type TaskType, type ProtocolExclusions } from '@memberjunction/predictive-studio-core';
|
|
46
|
+
import type { MJMLTrainingPipelineEntity } from '@memberjunction/core-entities';
|
|
47
|
+
import { type ICountingDataAccess } from '../feature-assembly/data-access.js';
|
|
48
|
+
import { type IAssemblyMetadata } from '../feature-assembly/assembly-metadata.js';
|
|
49
|
+
import { type AsOfAssemblyResult } from '../feature-assembly/as-of/as-of-assembler.js';
|
|
50
|
+
import { type SeriesHistory } from '../feature-assembly/as-of/series-features.js';
|
|
51
|
+
import { type UnitRow, type UnitRowReadResult } from '../prediction-unit/unit-row-reader.js';
|
|
52
|
+
import { TrainingRefusedError } from './training-refusal.js';
|
|
53
|
+
import { type CarvedRowRef, type HoldoutCarveOutcome } from '../snapshot/holdout-carver.js';
|
|
35
54
|
import type { TrainModelInput, TrainModelResult, TrainingDeps } from './types.js';
|
|
55
|
+
/** Parsed JSON config columns pulled off a `MJ: ML Training Pipelines` row. */
|
|
56
|
+
export interface ResolvedPipeline {
|
|
57
|
+
pipeline: MJMLTrainingPipelineEntity;
|
|
58
|
+
targetEntityName: string;
|
|
59
|
+
targetVariable: string;
|
|
60
|
+
problemType: ProblemType;
|
|
61
|
+
algorithmDriverKey: string;
|
|
62
|
+
hyperparameters: Record<string, unknown>;
|
|
63
|
+
sourceBindings: SourceBinding[];
|
|
64
|
+
featureSteps: FeatureStepGraph;
|
|
65
|
+
asOf: AsOfStrategy;
|
|
66
|
+
leakageGuard: LeakageGuard;
|
|
67
|
+
validation: ValidationStrategy;
|
|
68
|
+
outcomeConfig: OutcomeConfig;
|
|
69
|
+
}
|
|
70
|
+
/** The unit rows a complete read returned. */
|
|
71
|
+
export type UnitRowsRead = Extract<UnitRowReadResult, {
|
|
72
|
+
Status: 'read';
|
|
73
|
+
}>;
|
|
74
|
+
/** What a unit training run already holds when it asks for the matrix, so the assembly does not read it twice. */
|
|
75
|
+
export interface UnitAssemblyInputs {
|
|
76
|
+
readonly Resolved: ResolvedPipeline;
|
|
77
|
+
readonly Unit: PredictionUnitSpec;
|
|
78
|
+
readonly UnitRead: UnitRowsRead;
|
|
79
|
+
readonly DataAccess: ICountingDataAccess;
|
|
80
|
+
readonly Metadata: IAssemblyMetadata;
|
|
81
|
+
/**
|
|
82
|
+
* The bound protocol's slice fields. Each must be a column the assembly will write (a feature column, or one of a
|
|
83
|
+
* date column's parts) or a field of every unit row; one that is neither is refused (`unresolved-column`) before the
|
|
84
|
+
* as-of assembly reads anything.
|
|
85
|
+
*/
|
|
86
|
+
readonly SliceFields?: readonly string[];
|
|
87
|
+
/**
|
|
88
|
+
* The bound protocol's exclusions (a guard field): the fields and sources that never enter the matrix, together with
|
|
89
|
+
* the pipeline's own `LeakageGuard` deny lists. Null when the pipeline is bound to no protocol (such a pipeline
|
|
90
|
+
* never trains; only its standalone assembly runs).
|
|
91
|
+
*/
|
|
92
|
+
readonly ProtocolExclusions: ProtocolExclusions | null;
|
|
93
|
+
/**
|
|
94
|
+
* A training run's carve of the unit rows: only its kept rows are assembled, and the categorical fold counts only the
|
|
95
|
+
* development rows. Absent (an assembly outside a training run), every unit row is assembled and counted.
|
|
96
|
+
*/
|
|
97
|
+
readonly Carve?: TrainingRowCarve;
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* The bound protocol's carve over a training run's unit rows, made before the target is validated or anything is
|
|
101
|
+
* assembled, so the rows training may not use never shape what it fits: rows a date carve leaves out (on or after
|
|
102
|
+
* `holdoutEnd`) are neither validated nor assembled, and locked-holdout rows are assembled for scoring but never
|
|
103
|
+
* counted by target validation or the categorical fold.
|
|
104
|
+
*/
|
|
105
|
+
export interface TrainingRowCarve {
|
|
106
|
+
/** The unit rows the carve keeps: development and locked holdout. */
|
|
107
|
+
readonly Kept: readonly UnitRow[];
|
|
108
|
+
/** The development rows among them: the only rows target validation reads. */
|
|
109
|
+
readonly Development: readonly UnitRow[];
|
|
110
|
+
/**
|
|
111
|
+
* The same carve over the given rows (the assembled ones) plus the rows it left out, so the summary still counts
|
|
112
|
+
* them: the roles and summary the snapshot freezes, and the development rows the categorical fold counts.
|
|
113
|
+
*/
|
|
114
|
+
CarveRows(rows: readonly CarvedRowRef[]): HoldoutCarveOutcome;
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* A unit pipeline's matrix as training assembles it: the unit, its rows, the typed feature columns (empty when feature
|
|
118
|
+
* resolution refused) and the assembled matrix or the first refusal.
|
|
119
|
+
*/
|
|
120
|
+
export interface UnitTrainingAssembly {
|
|
121
|
+
readonly Unit: PredictionUnitSpec;
|
|
122
|
+
readonly UnitRead: UnitRowsRead;
|
|
123
|
+
readonly Features: readonly FeatureColumnSpec[];
|
|
124
|
+
readonly Assembled: AsOfAssemblyResult;
|
|
125
|
+
}
|
|
36
126
|
/**
|
|
37
127
|
* Training orchestrator. Stateless across calls; construct once and reuse. All
|
|
38
128
|
* dependencies are supplied per call via {@link TrainingDeps}.
|
|
39
129
|
*/
|
|
40
130
|
export declare class TrainingEngine {
|
|
41
|
-
private readonly
|
|
42
|
-
/**
|
|
43
|
-
* @param assembler optional FeatureAssembly executor override (tests may inject one)
|
|
44
|
-
*/
|
|
45
|
-
constructor(assembler?: FeatureAssemblyExecutor);
|
|
131
|
+
private readonly unitReader;
|
|
46
132
|
/**
|
|
47
133
|
* Train a model end-to-end from a pipeline definition.
|
|
48
134
|
*
|
|
49
|
-
* @param input the pipeline id + optional session-iteration
|
|
50
|
-
* @param deps the injected dependency bundle (entity factory, loader,
|
|
51
|
-
* @returns the produced `Draft` model and the
|
|
135
|
+
* @param input the pipeline id + optional session-iteration inputs
|
|
136
|
+
* @param deps the injected dependency bundle (entity factory, loader, trainer, stores)
|
|
137
|
+
* @returns the produced `Draft` model (null when the gate ships nothing) and the training run
|
|
138
|
+
* @throws TrainingRefusedError (`unit-required`) before any run row when the pipeline has no Prediction Unit
|
|
52
139
|
*/
|
|
53
140
|
trainModel(input: TrainModelInput, deps: TrainingDeps): Promise<TrainModelResult>;
|
|
141
|
+
/**
|
|
142
|
+
* Moves an advancing fixed decision date to the run's UTC day after every pipeline-stage refusal and deps check
|
|
143
|
+
* (protocol, budget, time index, a stored AsOfStrategy override, snapshot file store, trainer) and before the run row (a new unit
|
|
144
|
+
* version, the pipeline bound to it), so the run reads features as they stand on its own day, its lineage names that
|
|
145
|
+
* version, and a refused pipeline never mints a version. Returns the unit to train under.
|
|
146
|
+
*/
|
|
147
|
+
private advanceDecisionDate;
|
|
148
|
+
/**
|
|
149
|
+
* The refusal of a pipeline without a Prediction Unit, raised before any run row is written; the reason names how to
|
|
150
|
+
* bind one (a held pipeline's Description names what to declare).
|
|
151
|
+
*/
|
|
152
|
+
static UnitRequired(pipelineId: string): TrainingRefusedError;
|
|
153
|
+
/** Record a run that ended in an error: a refusal as the `refused` envelope, any other error as a failure. */
|
|
154
|
+
private recordRunError;
|
|
155
|
+
/**
|
|
156
|
+
* Train a pipeline that points at a Prediction Unit. The bound Evaluation Protocol version is resolved first: a
|
|
157
|
+
* missing protocol, more candidates than its budget allows, or a pipeline that declares a time index under a holdout
|
|
158
|
+
* that does not respect time (`time-index-needs-time-holdout`) is refused before any run row is written. The unit
|
|
159
|
+
* decides the rows, their decision dates and their labels: a pipeline whose stored AsOfStrategy would override them
|
|
160
|
+
* is refused (the Train surfaces refuse a row cap and label-event dates by name before training), and deps without a snapshot file store or a trainer
|
|
161
|
+
* fail (a wiring error), both before anything is written. Only then does an advancing fixed decision date move to the
|
|
162
|
+
* run's day (a new unit version), and the run row is written. Censored and label-known rows are excluded and
|
|
163
|
+
* counted, and a protocol that does not fit the unit or a target that cannot train a model is refused before anything
|
|
164
|
+
* is assembled. The matrix is assembled as of each decision date ({@link AssembleForTraining}), frozen into a
|
|
165
|
+
* Training Snapshot the run references, and trained through the protocol trainer. A refusal after the run row exists
|
|
166
|
+
* is recorded on it as a `refused` envelope.
|
|
167
|
+
*/
|
|
168
|
+
private trainUnitPipeline;
|
|
169
|
+
/**
|
|
170
|
+
* The checks a unit pipeline passes before anything is written: the bound protocol (missing, or over its budget), a
|
|
171
|
+
* time-indexed pipeline under a holdout that does not respect time (`time-index-needs-time-holdout`), a stored
|
|
172
|
+
* AsOfStrategy that would override the unit, deps without a snapshot file store or a trainer, and an artifact store
|
|
173
|
+
* that cannot write here ({@link requireWritableArtifactStore}). Each throws.
|
|
174
|
+
*/
|
|
175
|
+
private requireUnitRunPrerequisites;
|
|
176
|
+
/**
|
|
177
|
+
* The artifact store must be able to write here before anything of the run is written: a run whose snapshot is
|
|
178
|
+
* reused writes no snapshot file, so without this check a store whose provider is not configured on this server would
|
|
179
|
+
* first fail after the trainer has spent the run's compute. A store that cannot write is a configuration error (not a
|
|
180
|
+
* refusal of the pipeline), so no run row is written.
|
|
181
|
+
*
|
|
182
|
+
* @throws Error stating the run was refused before training, with the store's reason
|
|
183
|
+
*/
|
|
184
|
+
private static requireWritableArtifactStore;
|
|
185
|
+
/**
|
|
186
|
+
* The Evaluation Protocol version the pipeline is bound to, read through `deps.protocols` (default: RunView on the
|
|
187
|
+
* request's provider). No binding, a missing row or more candidates than its budget allows is refused here, before
|
|
188
|
+
* any run row exists, so a refused search leaves none.
|
|
189
|
+
*
|
|
190
|
+
* @throws TrainingRefusedError (`protocol-required`, `too-many-candidates`, `protocol-invalid`)
|
|
191
|
+
*/
|
|
192
|
+
private requireBoundProtocol;
|
|
193
|
+
/** A run is judged only under a protocol row that existed before it: both instants come from the database clock. */
|
|
194
|
+
private static refuseProtocolNewerThanRun;
|
|
195
|
+
/** The unit decides decision dates, so a pipeline whose stored AsOfStrategy asks for point-in-time assembly is refused. */
|
|
196
|
+
private static refuseUnitOverrides;
|
|
197
|
+
/**
|
|
198
|
+
* The deps' snapshot file store. A unit run trains only from a Training Snapshot, so deps without one are incomplete
|
|
199
|
+
* (a wiring error, not a refusal of the pipeline) and training fails before anything is written, rather than training
|
|
200
|
+
* from rows nothing recorded.
|
|
201
|
+
*/
|
|
202
|
+
private static requireSnapshotFiles;
|
|
203
|
+
/**
|
|
204
|
+
* The deps' trainer. Every unit run trains only through it, so deps without one are incomplete (a wiring error) and
|
|
205
|
+
* training fails before anything is written.
|
|
206
|
+
*/
|
|
207
|
+
private static requireTrainer;
|
|
208
|
+
/**
|
|
209
|
+
* The bound protocol's carve over a run's unit rows ({@link TrainingRowCarve}), by the carver the protocol declares
|
|
210
|
+
* ({@link HoldoutCarvers.CarverForProtocol}).
|
|
211
|
+
*
|
|
212
|
+
* @throws TrainingRefusedError (`carve` stage) when the protocol's holdout cannot be carved from the unit rows
|
|
213
|
+
*/
|
|
214
|
+
static CarveUnitRows(protocol: EvaluationProtocolSpec, unit: PredictionUnitSpec, unitRead: UnitRowsRead): TrainingRowCarve;
|
|
215
|
+
/**
|
|
216
|
+
* Freeze the assembled rows into a Training Snapshot: each row gets its manifest role from the run's carve
|
|
217
|
+
* ({@link TrainingRowCarve.CarveRows} over the assembled rows); rows the carve leaves out (a date carve's rows on or
|
|
218
|
+
* after `holdoutEnd`, never assembled) are not in the snapshot and are counted in the summary. Identical content reuses the
|
|
219
|
+
* snapshot that already holds it. The bound protocol decides the evaluation columns: the incumbent-score column when
|
|
220
|
+
* it declares an incumbent-heuristic baseline and the unit has a rule to score it, and one slice column per subgroup
|
|
221
|
+
* field it declares. Returns the snapshot and the carve's summary.
|
|
222
|
+
*
|
|
223
|
+
* @throws TrainingRefusedError (`carve` stage) when the protocol's holdout cannot be carved from the rows
|
|
224
|
+
*/
|
|
225
|
+
private freezeSnapshot;
|
|
226
|
+
/**
|
|
227
|
+
* Train a unit run through the trainer: build the request over the frozen snapshot (the search's candidates, or the
|
|
228
|
+
* pipeline's own algorithm as the single candidate; the timeout is the protocol's compute budget, or less when an
|
|
229
|
+
* enclosing budget has less left), record the result on the run (compute, code version, status), decide the gate
|
|
230
|
+
* and refuse a sidecar decision that differs from it, store every returned artifact in `MJ: Files`, create the model
|
|
231
|
+
* row from the artifact the decision ships (none for `no-signal` or a kept heuristic rule) and complete the run with
|
|
232
|
+
* the stored result (artifacts as file references, never bytes), the holdout carve's summary, the gate record, the
|
|
233
|
+
* request settings a retrain replays, the leakage note of the single-feature-dominance check over the trainer's
|
|
234
|
+
* importance and, for a shipped finalist whose calibration hides its family, the calibration hold. A failed result is the refusal `trainer-failed` and a result whose code version cannot be recorded is
|
|
235
|
+
* `lineage-incomplete`; both keep the compute they recorded. The gate stage's refusals are stored before any artifact. When a step after the artifacts are stored fails (the model row or the run's completion cannot be saved), the model row and the stored artifacts are deleted best-effort ({@link discardStoredOutput}) and the original error is rethrown.
|
|
236
|
+
*
|
|
237
|
+
* @returns the model row, or null when the decision ships no artifact
|
|
238
|
+
*/
|
|
239
|
+
private trainThroughTrainer;
|
|
240
|
+
/**
|
|
241
|
+
* Best-effort removal of what a trainer run stored before a later step failed, so the failed run leaves no model row
|
|
242
|
+
* and no artifact nothing references: the model row (when it was saved) and the run's pointer to it, then every stored
|
|
243
|
+
* artifact. An artifact a model row that could not be deleted still references is kept. The run's completed result,
|
|
244
|
+
* features and hyperparameters are cleared too, so the Failed run never records a 'completed' result whose artifact
|
|
245
|
+
* file references were just deleted. Each failure is logged; the caller rethrows the original error.
|
|
246
|
+
*/
|
|
247
|
+
private static discardStoredOutput;
|
|
248
|
+
/** Deletes a failed run's model row; returns the artifact file it references when the row could not be deleted, else null. */
|
|
249
|
+
private static deleteModelRowOf;
|
|
250
|
+
/** Deletes artifact files through the run's store, every one attempted; each failure is logged. */
|
|
251
|
+
private static deleteArtifactFiles;
|
|
252
|
+
/**
|
|
253
|
+
* Complete a trainer run: the envelope (the stored result with artifacts as file references, the carve, the gate
|
|
254
|
+
* record and the request settings), the resulting model (null when nothing ships), the features, the hyperparameters
|
|
255
|
+
* (the finalist's, except `{}` when a baseline member is kept: a member has none of its own) and the notes: the
|
|
256
|
+
* trainer's, the gate's reason (saying no model was created when nothing ships), the leakage note every run carries
|
|
257
|
+
* and a held model's CALIBRATION HOLD note.
|
|
258
|
+
*/
|
|
259
|
+
private completeTrainerRun;
|
|
260
|
+
/**
|
|
261
|
+
* The run's gate record: the decision TypeScript derives from the trainer's paired intervals under the bound protocol,
|
|
262
|
+
* with its guards. Refused at the `gate` stage when a comparison the gate needs is missing or the sidecar decided
|
|
263
|
+
* differently (`sidecar-gate-mismatch`); runs before anything is stored.
|
|
264
|
+
*/
|
|
265
|
+
private static buildGateRecord;
|
|
266
|
+
/**
|
|
267
|
+
* The artifact the decision ships: the finalist for `model`, the kept simple baseline member for
|
|
268
|
+
* `keep-simple-baseline`, and nothing for `no-signal` or a kept heuristic rule (a rule, not an artifact: the decision
|
|
269
|
+
* is stored and delivery publishes the rule). Runs before anything is stored.
|
|
270
|
+
*
|
|
271
|
+
* @throws Error when the kept member is not a simple baseline of the result, or the trainer returned no artifact for what ships
|
|
272
|
+
*/
|
|
273
|
+
private static shippedArtifact;
|
|
274
|
+
/** The simple baseline whose member name the decision kept. */
|
|
275
|
+
private static keptMember;
|
|
276
|
+
/** The stored file of the shipped artifact (checked to be among the returned artifacts before they were stored). */
|
|
277
|
+
private static storedFileOf;
|
|
278
|
+
/**
|
|
279
|
+
* What a completed trainer result decides about the run and its model, computed once: the finalist candidate, the
|
|
280
|
+
* held-out permutation importance as the stored share map, the evaluation record, the single-feature-dominance
|
|
281
|
+
* check of that map against the pipeline's leakage guard (the check every run records) and the calibration hold of
|
|
282
|
+
* what ships ({@link calibrationHoldOf}).
|
|
283
|
+
*/
|
|
284
|
+
private trainerOutcome;
|
|
285
|
+
/**
|
|
286
|
+
* The calibration hold of what ships: only a shipped finalist is judged by the result's holdout calibration report,
|
|
287
|
+
* which is the finalist's (a kept baseline member, or nothing shipping, holds nothing). It holds when the report
|
|
288
|
+
* hides the task's family ({@link TrainerContract.CalibrationHidesFamily}), recording the slope, or null when the slope
|
|
289
|
+
* could not be measured.
|
|
290
|
+
*/
|
|
291
|
+
private static calibrationHoldOf;
|
|
292
|
+
/**
|
|
293
|
+
* The run's leakage audit as a model Lineage stores it: the top feature of the finalist importance and its share, or
|
|
294
|
+
* null when no importance was measured.
|
|
295
|
+
*/
|
|
296
|
+
private static leakageAuditOf;
|
|
297
|
+
/** The plain-language CALIBRATION HOLD sentence of a held model's run; empty when nothing is held. */
|
|
298
|
+
private static calibrationHoldNote;
|
|
299
|
+
/**
|
|
300
|
+
* Why a completed training run shipped no model: the reason of its stored gate decision (`no-signal`, or the unit's
|
|
301
|
+
* existing rule kept), or the run's notes when it stored no gate record.
|
|
302
|
+
*/
|
|
303
|
+
static NoModelReason(result: TrainModelResult): string;
|
|
304
|
+
/**
|
|
305
|
+
* The trainer's timeout: the protocol's compute budget, or the seconds an enclosing budget has left when that is less.
|
|
306
|
+
* `??`: 0 seconds left in an enclosing budget is a real value, and only an absent one leaves the protocol's budget.
|
|
307
|
+
*/
|
|
308
|
+
static TimeoutSecondsFor(protocol: Pick<EvaluationProtocolSpec, 'budgets'>, input: Pick<TrainModelInput, 'timeoutSeconds'>): number;
|
|
309
|
+
/** The candidate the trainer chose, or null when its finalist is not one of the request's candidates (a baseline). */
|
|
310
|
+
private static finalistCandidate;
|
|
311
|
+
/**
|
|
312
|
+
* Record the trainer's result on the run and return it when it completed. A failed result is refused as
|
|
313
|
+
* `trainer-failed` and a completed one with lineage gaps as `lineage-incomplete`, each after its compute is recorded.
|
|
314
|
+
*/
|
|
315
|
+
private static recordTrainerResult;
|
|
316
|
+
/**
|
|
317
|
+
* Refuse to store an answer that does not belong to this run: it names another training run (IDs compared as UUIDs),
|
|
318
|
+
* an artifact's bytes do not hash to the SHA-256 it states (that hash is what later checks of the artifact trust), or
|
|
319
|
+
* an artifact was built for another feature schema than the snapshot's. Runs before anything is stored.
|
|
320
|
+
*
|
|
321
|
+
* @throws Error naming the mismatch
|
|
322
|
+
*/
|
|
323
|
+
private static checkAnswerBelongsToRun;
|
|
324
|
+
/**
|
|
325
|
+
* Refuse a trainer report that breaks what the protocol guarantees about its search (`selection-invalid`): every
|
|
326
|
+
* candidate scored on every fold with a valid interval, and the holdout read for the finalist. Runs after the
|
|
327
|
+
* compute is recorded and before anything is stored, so the refused run keeps its compute and stores no artifact.
|
|
328
|
+
*/
|
|
329
|
+
private static checkSelection;
|
|
330
|
+
/**
|
|
331
|
+
* Store every returned artifact's decoded bytes as an `MJ: Files` row; the file IDs by candidate. When any save
|
|
332
|
+
* fails, the artifacts already saved are deleted through the same store before the error is rethrown, so a failed run
|
|
333
|
+
* leaves no artifact nothing references.
|
|
334
|
+
*/
|
|
335
|
+
private storeTrainerArtifacts;
|
|
336
|
+
/**
|
|
337
|
+
* The model row of a trainer run, from the artifact the gate shipped (the trainer's envelope carries its own in-fold
|
|
338
|
+
* encoding, so there is no separate fitted preprocessing), and the split the trainer was sent (the snapshot's manifest
|
|
339
|
+
* roles). For the finalist: its algorithm (the pipeline's when the finalist is not a candidate), its inner score as
|
|
340
|
+
* `Metrics`, the holdout scores as `HoldoutMetrics` and the held-out permutation importance per source column as
|
|
341
|
+
* `FeatureImportance` (`{}` when the trainer measured none, as for a forecast). For a kept baseline member: the
|
|
342
|
+
* catalog algorithm of its driver ({@link shippedAlgorithmId}), its holdout score as `HoldoutMetrics`, and `{}` for
|
|
343
|
+
* `Metrics` and `FeatureImportance` (a baseline has no inner score and no importance of its own; its Lineage's
|
|
344
|
+
* leakage audit carries the finalist's, {@link trainerLineage}).
|
|
345
|
+
*/
|
|
346
|
+
private createTrainerModelRow;
|
|
347
|
+
/**
|
|
348
|
+
* The Lineage of a trainer run's model: the keys every model carries (the trainer's sidecar version, the snapshot's
|
|
349
|
+
* split), the unit's, and the protocol it was judged under with its artifact format. Its evaluation record states
|
|
350
|
+
* out-of-sample scoring (the holdout rows are scored once by the shipped artifact, which never trained on them) and the
|
|
351
|
+
* kind of the importance the row stores: the finalist's held-out importance, or none for a kept baseline member (its
|
|
352
|
+
* row stores `{}`). It names what shipped and that artifact's driver, the run's leakage audit (the finalist
|
|
353
|
+
* importance's top feature and share, whatever shipped: the promotion gate judges a kept baseline by it) and the
|
|
354
|
+
* calibration hold of a shipped finalist whose family is hidden.
|
|
355
|
+
*/
|
|
356
|
+
private trainerLineage;
|
|
357
|
+
/**
|
|
358
|
+
* The `MJ: ML Algorithms` row the model row names. The finalist: its candidate's algorithm, or the pipeline's when the
|
|
359
|
+
* finalist is not a candidate. A kept baseline member: the catalog row of its driver; a driver with no catalog row
|
|
360
|
+
* (the baseline-only count and non-negative GLMs, the forecast baselines) names the pipeline's algorithm, and the
|
|
361
|
+
* lineage's `shippedDriver` holds the driver that shipped.
|
|
362
|
+
*/
|
|
363
|
+
private shippedAlgorithmId;
|
|
364
|
+
/** The driver key of the shipped artifact: the finalist candidate's (the pipeline's when not a candidate), or the kept member's. */
|
|
365
|
+
private static shippedDriver;
|
|
366
|
+
/**
|
|
367
|
+
* The driver a shippable baseline member is fitted with, as the trainer fits it: the GLM and the one-feature baseline
|
|
368
|
+
* use the GLM of the task's family (a forecast's family is its value kind); the forecast baselines are their own
|
|
369
|
+
* series drivers. The dummy and the incumbent heuristic are yardsticks and never ship.
|
|
370
|
+
*
|
|
371
|
+
* @throws Error for a yardstick baseline
|
|
372
|
+
*/
|
|
373
|
+
static MemberDriverKey(spec: BaselineSpec, task: TaskType): string;
|
|
374
|
+
/** The GLM each task family's GLM baseline fits (the trainer's own table, `baselines.GLM_DRIVER`). */
|
|
375
|
+
private static readonly glmDriver;
|
|
376
|
+
/**
|
|
377
|
+
* Assemble a unit pipeline's training matrix as of each unit row's decision date: the pipeline's steps resolve into
|
|
378
|
+
* typed columns (the bound protocol's exclusions and the pipeline's LeakageGuard deny lists excluded,
|
|
379
|
+
* {@link EffectiveExclusions}) and the as-of assembler reads them. This is the one
|
|
380
|
+
* assembly function training uses; the scoring path calls the same assembler with the columns and levels training
|
|
381
|
+
* stored. With `prepared` (a training run) the pipeline, unit and rows already read are reused; without it (a check
|
|
382
|
+
* that only needs the matrix) the pipeline, its bound protocol's exclusions, the unit and its rows are read here, and
|
|
383
|
+
* a pipeline without a unit is refused (`unit-required`). A training run's carve ({@link UnitAssemblyInputs.Carve})
|
|
384
|
+
* limits the assembled rows to the ones it keeps and the categorical fold to its development rows; the series history
|
|
385
|
+
* lags read from is still built from every unit row.
|
|
386
|
+
*
|
|
387
|
+
* @param pipelineId the `MJ: ML Training Pipelines` row
|
|
388
|
+
* @param deps the training deps (provider, user and the unit seams; `history` defaults to complete Record Changes reads)
|
|
389
|
+
* @param prepared what a training run has already read
|
|
390
|
+
*/
|
|
391
|
+
AssembleForTraining(pipelineId: string, deps: TrainingDeps, prepared?: UnitAssemblyInputs): Promise<UnitTrainingAssembly>;
|
|
392
|
+
/** The ids a carve assigned the development role. */
|
|
393
|
+
private static developmentIds;
|
|
394
|
+
/**
|
|
395
|
+
* The fields and sources kept out of a unit pipeline's matrix: the union of the bound protocol's `exclusions` (a guard
|
|
396
|
+
* field, set only in protocol configuration) and the pipeline's `LeakageGuard` deny lists. A union, so neither list
|
|
397
|
+
* can bring back a column the other keeps out.
|
|
398
|
+
*
|
|
399
|
+
* @param leakageGuard the pipeline's leakage guard
|
|
400
|
+
* @param protocolExclusions the bound protocol's exclusions, or null when the pipeline has no protocol
|
|
401
|
+
*/
|
|
402
|
+
static EffectiveExclusions(leakageGuard: LeakageGuard, protocolExclusions: ProtocolExclusions | null): ProtocolExclusions;
|
|
403
|
+
/**
|
|
404
|
+
* The series history a unit with a Temporal Spec reads its lags and rolling windows from: the unit rows' labels by
|
|
405
|
+
* entity and period. Null for a unit without one.
|
|
406
|
+
*/
|
|
407
|
+
static SeriesHistoryFor(unit: PredictionUnitSpec, rows: readonly UnitRow[]): SeriesHistory | null;
|
|
408
|
+
/** A unit row as a series point; a forecast row always has a period and a numeric label once the target is validated. */
|
|
409
|
+
private static toPoint;
|
|
410
|
+
/** Read the pipeline, its unit and the unit's rows, for an assembly that is not part of a training run. */
|
|
411
|
+
private prepareUnitAssembly;
|
|
412
|
+
/**
|
|
413
|
+
* The exclusions of the protocol version the pipeline is bound to, read as a training run reads it; null when the
|
|
414
|
+
* pipeline names no protocol.
|
|
415
|
+
*
|
|
416
|
+
* @throws TrainingRefusedError (`protocol-required`) when the bound row does not exist, (`protocol-invalid`) when it does not parse
|
|
417
|
+
*/
|
|
418
|
+
private boundProtocolExclusions;
|
|
419
|
+
/** The unit path reads through the request's provider (never a global RunView) unless the deps supply the seams. */
|
|
420
|
+
private unitSeams;
|
|
421
|
+
/** Every unit row, read completely; a refused read is the run's refusal. */
|
|
422
|
+
private readUnitRows;
|
|
423
|
+
/** Load the pipeline's unit version and parse it; a missing or unparseable unit is the refusal `unit-invalid`. */
|
|
424
|
+
private loadUnitSpec;
|
|
425
|
+
/** The unit's identity, the typed feature columns, the kept categorical levels and the snapshot, stored in the model Lineage. */
|
|
426
|
+
private unitLineage;
|
|
427
|
+
/** The provider the unit path's production seams read through; the unit path has no global fallback. */
|
|
428
|
+
private requireProvider;
|
|
429
|
+
/**
|
|
430
|
+
* Record a refused run (best-effort — never masks the refusal): `Failed`, the `refused` envelope in
|
|
431
|
+
* ValidationResults and the refusal sentence in Notes. The caller rethrows the refusal.
|
|
432
|
+
*/
|
|
433
|
+
private finalizeRunRefused;
|
|
434
|
+
/** Rows excluded because a read field's history did not cover their decision date, named per entity and field. */
|
|
435
|
+
private static withUncoveredNote;
|
|
54
436
|
/** Load the pipeline and parse its JSON config columns into typed shapes. */
|
|
55
437
|
private resolvePipeline;
|
|
56
438
|
/** Create the `MJ: ML Training Runs` row in `Running` state with `StartedAt`. */
|
|
57
439
|
private createRunRow;
|
|
58
|
-
/** Mark the run `Completed`, attach the model + results, and record observations. */
|
|
59
|
-
private finalizeRunSuccess;
|
|
60
440
|
/** Record a failed run (best-effort — never masks the original error). */
|
|
61
441
|
private finalizeRunFailure;
|
|
62
442
|
/** Compose the plain-language run note, surfacing leakage suspicion loudly (§6.4). */
|
|
63
443
|
private buildRunNotes;
|
|
64
|
-
/** Assemble the raw matrix + schema + preprocessing recipe (train context). */
|
|
65
|
-
private assemble;
|
|
66
|
-
/**
|
|
67
|
-
* The ORDER BY for the training read: the target entity's primary-key columns. Without it an uncapped read (the
|
|
68
|
-
* default) has no ORDER BY at all, so the database may return rows in any order and the seeded holdout carve would
|
|
69
|
-
* pick different rows between runs.
|
|
70
|
-
*/
|
|
71
|
-
private primaryKeyOrder;
|
|
72
|
-
/**
|
|
73
|
-
* Carve the locked holdout FIRST (§8.2), before any train/test split: a seeded sample of
|
|
74
|
-
* `LockedHoldoutFraction` of the rows, stratified on the label for classification. The holdout
|
|
75
|
-
* rows are never sent in the training `data`.
|
|
76
|
-
*/
|
|
77
|
-
private carveLockedHoldout;
|
|
78
|
-
/**
|
|
79
|
-
* Translate the pipeline's {@link ValidationStrategy} into a sidecar {@link ValidationConfig}. The seed is sent
|
|
80
|
-
* explicitly so the sidecar's splits use the same seed as the locked-holdout carve.
|
|
81
|
-
*/
|
|
82
|
-
private buildValidationConfig;
|
|
83
|
-
/** Build the `/train` request from the resolved pipeline + assembled training matrix. */
|
|
84
|
-
private buildTrainRequest;
|
|
85
444
|
/** Run the single-feature-dominance check against the leakage threshold (§6.4). */
|
|
86
445
|
private checkLeakage;
|
|
87
|
-
/**
|
|
88
|
-
* Persist the artifact, then create the immutable `MJ: ML Models` row in
|
|
89
|
-
* `Draft` (never auto-promoted, even when leakage is clean — promotion is a
|
|
90
|
-
* separate human/agent gate, §6.4 / PS-AGENT-7).
|
|
91
|
-
*/
|
|
92
|
-
private createModelRow;
|
|
93
446
|
/**
|
|
94
447
|
* Assemble the model lineage blob (provenance, §4.3). This blob must be
|
|
95
448
|
* **self-contained enough to re-assemble features at score time** — the
|
|
@@ -98,7 +451,7 @@ export declare class TrainingEngine {
|
|
|
98
451
|
* `asOfStrategy` when the pipeline row isn't separately loaded. Omitting
|
|
99
452
|
* `targetEntityName` or `featureSteps` here would leave the model unable to
|
|
100
453
|
* produce any feature columns at inference (train/serve break), so both are
|
|
101
|
-
* persisted alongside the other provenance fields.
|
|
454
|
+
* persisted alongside the other provenance fields, after the model's {@link UnitModelLineage} (every model is trained on a unit).
|
|
102
455
|
*/
|
|
103
456
|
private buildLineage;
|
|
104
457
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"training-engine.d.ts","sourceRoot":"","sources":["../../src/training/training-engine.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"training-engine.d.ts","sourceRoot":"","sources":["../../src/training/training-engine.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AAIH,OAAO,EAGL,KAAK,aAAa,EAClB,KAAK,YAAY,EACjB,KAAK,YAAY,EACjB,KAAK,kBAAkB,EACvB,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACrB,KAAK,aAAa,EASlB,KAAK,kBAAkB,EAIvB,KAAK,iBAAiB,EAKtB,KAAK,sBAAsB,EAQ3B,KAAK,YAAY,EAIjB,KAAK,QAAQ,EAEb,KAAK,kBAAkB,EACxB,MAAM,wCAAwC,CAAC;AAChD,OAAO,KAAK,EAAE,0BAA0B,EAAsE,MAAM,+BAA+B,CAAC;AAGpJ,OAAO,EAAqB,KAAK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