Interface: LogOddsScoreDecompositionDto
@kortexya/reasoninglayer / LogOddsScoreDecompositionDto
Interface: LogOddsScoreDecompositionDto
Section titled “Interface: LogOddsScoreDecompositionDto”Defined in: src/types/inference.ts:392
The log-odds breakdown of a solution’s score.
Remarks
Section titled “Remarks”totalScore is the sum the ranking used; every other field is one of its
parts. version identifies the scoring model, so a stored decomposition
stays interpretable after the model changes.
Properties
Section titled “Properties”antecedents
Section titled “antecedents”antecedents:
LogOddsAntecedentContributionDto[]
Defined in: src/types/inference.ts:416
What each antecedent contributed.
coverageTerm
Section titled “coverageTerm”coverageTerm:
number
Defined in: src/types/inference.ts:402
The coverage term’s contribution.
coverageWeight
Section titled “coverageWeight”coverageWeight:
number
Defined in: src/types/inference.ts:404
The weight applied to coverage.
creditedCount
Section titled “creditedCount”creditedCount:
number
Defined in: src/types/inference.ts:406
How many antecedents were credited.
logLikelihoodSum
Section titled “logLikelihoodSum”logLikelihoodSum:
number
Defined in: src/types/inference.ts:400
The summed log-likelihood over credited antecedents.
logPrior
Section titled “logPrior”logPrior:
number
Defined in: src/types/inference.ts:398
The prior, in log space.
nullHitRate
Section titled “nullHitRate”nullHitRate:
number
Defined in: src/types/inference.ts:410
The null model’s hit rate.
nullLlrRate
Section titled “nullLlrRate”nullLlrRate:
number
Defined in: src/types/inference.ts:412
The null model’s log-likelihood-ratio rate.
nullTerm
Section titled “nullTerm”nullTerm:
number
Defined in: src/types/inference.ts:408
The null model’s term.
observationCount?
Section titled “observationCount?”
optionalobservationCount?:number
Defined in: src/types/inference.ts:414
How many observations backed the estimate, when recorded.
totalScore
Section titled “totalScore”totalScore:
number
Defined in: src/types/inference.ts:396
The score the ranking used.
version
Section titled “version”version:
number
Defined in: src/types/inference.ts:394
Which scoring model produced this.