DiagonalRegressionResult
Factorised posterior: each coefficient has its own precision (= 1/variance) but coefficients are assumed independent. Cheap to maintain and sample from; ignores correlations between features.
Constructors
DiagonalRegressionResult
Properties
bias
biasPrecision
Posterior precision (inverse variance) on the bias term.
link
precision
sse
step
Number of com.eignex.kumulant.core.RegressionStat.update calls absorbed; useful as a bookkeeping counter for learning-rate decay or retraining cadence.
totalWeights
Cumulative weight of observations folded into this result.
weights
Number of features in weights.
True when totalWeights is not positive, including zero, negative values, and NaN.
Mean squared error: sse / totalWeights. Zero on an empty stream.
Unbiased sample standard deviation: sqrt([sampleVariance]).
Unbiased sample variance: [sst] / ([totalWeights] - 1). Zero when totalWeights <= 1.
Functions
Linear predictor eta = bias + x . weights, before the inverse link.
Mean response: link.invMean(linearPredictor(x)). For Link.Identity this is the linear predictor itself, matching plain linear regression.