ThatAIguyA world of ideas

THE CONSCIOUSNESS ATLAS
Read. Experiment. Follow the evidence.

ConsciousnessLearn · Explore · Joseph Anady

Linear log-odds score before logistic conversion

The model adds an intercept to the sum of each coefficient times its corresponding feature. Applying a logistic transform converts that log-odds score into a value between zero and one. The source uses decimal arithmetic for the linear combination and an isolated…

Implementation mathematicsSource recovered; runtime not executed
Learn with the Atlas

Learn to read this model

Start with the symbols, follow the operations, and check what the result means.

Open guided lesson
gh-eq-319054d06afff045source-continuation-equation
fixed champion, a fixed feature vector, and no DB. It computes log odds = intercept + SUM(coefficient_j * value_j) in shopspring/decimal, applies the logistic (a single isolated float conversion, re quantized to

Read the equation

The model adds an intercept to the sum of each coefficient times its corresponding feature. Applying a logistic transform converts that log-odds score into a value between zero and one. The source uses decimal arithmetic for the linear combination and an isolated floating-point conversion for the nonlinear transform; actual predictive calibration depends on training and evaluation, not only this formula.

Terms & definitions

TermMeaning in this source
intercept

Constant model offset

coefficient_j

Weight of feature j

value_j

Feature value

log_odds

Linear model output

How it works

Read the definition from its right-hand expression to the quantity on the left. Its surrounding source records the intended input, state, or parameter context. Where the source leaves an operation unspecified, this page preserves that gap.

Assumptions & limits

Source recovery establishes that the expression appears in this record. Its mathematical validity, implementation behavior, and interpretation must be assessed separately. See the linked source and research notes for the checks available for this version.

Original context

Read the surrounding source passage
// ExecuteIntent path) and extracts the declared scalar feature from its result. The extractor closes over the
// bound args (the segment keys). It is the FIXED, reviewed set of features a MAG intent may read; a feature
// intent with no extractor is refused, so a model can never read a feature the platform did not author an
// extractor for.
type featureExtractor func(ctx context.Context, db *tenant.DB, args []any) (decimal.Decimal, string, error)

// scoreModelIntent is the pure serving math, separated from the database read so it is unit testable with a
// fixed champion, a fixed feature vector, and no DB. It computes log odds = intercept + SUM(coefficient_j *
// value_j) in shopspring/decimal, applies the logistic (a single isolated float conversion, re quantized to
// decimal immediately), applies the calibration map, and returns the calibrated probability plus the ordered
// contribution trace. Every SURFACED number (the value, the coefficient, the contribution, the probability) is
// decimal; the only float is the transient sigmoid argument, which never surfaces.
func scoreModelIntent(model championModel, feats []Contribution) (decimal.Decimal, []Contribution) {
	// The additive log odds in decimal: the intercept plus every feature's coefficient times value. Each
	// feature carries its own contribution (coefficient times value) as the citation.
	logOdds := model.Intercept
	trace := make([]Contribution, 0, len(feats)+1)
	trace = append(trace, Contribution{
Exact original notation
fixed champion, a fixed feature vector, and no DB. It computes log odds = intercept + SUM(coefficient_j *
value_j) in shopspring/decimal, applies the logistic (a single isolated float conversion, re quantized to

Related builds

Related mathematical records

01

Linear log-odds score before logistic conversion

The model adds an intercept to the sum of each coefficient times its corresponding feature. Applying a logistic transform converts that log-odds score into a value between zero…

02

Linear log-odds score before logistic conversion

The model adds an intercept to the sum of each coefficient times its corresponding feature. Applying a logistic transform converts that log-odds score into a value between zero…

03

Linear log-odds score before logistic conversion

The model adds an intercept to the sum of each coefficient times its corresponding feature. Applying a logistic transform converts that log-odds score into a value between zero…

04

Linear log-odds score before logistic conversion

The model adds an intercept to the sum of each coefficient times its corresponding feature. Applying a logistic transform converts that log-odds score into a value between zero…

05

Linear log-odds score before logistic conversion

The model adds an intercept to the sum of each coefficient times its corresponding feature. Applying a logistic transform converts that log-odds score into a value between zero…

06

Linear log-odds score before logistic conversion

The model adds an intercept to the sum of each coefficient times its corresponding feature. Applying a logistic transform converts that log-odds score into a value between zero…

07

Linear log-odds score before logistic conversion

The model adds an intercept to the sum of each coefficient times its corresponding feature. Applying a logistic transform converts that log-odds score into a value between zero…

08

Linear log-odds score before logistic conversion

The model adds an intercept to the sum of each coefficient times its corresponding feature. Applying a logistic transform converts that log-odds score into a value between zero…

Sources & provenance

Search equations, builds, manuscript text, and recovered sources.