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
Properties
Posterior precision (inverse variance) on the bias term.
Number of features in weights.
Mean squared error: sse / totalWeights. Zero on an empty stream.
Per-coefficient precision (inverse variance). Same length as weights.
Unbiased sample standard deviation: sqrt([sampleVariance]).
Unbiased sample variance: [sst] / ([totalWeights] - 1). Zero when totalWeights <= 1.
Number of com.eignex.kumulant.core.RegressionStat.update calls absorbed; useful as a bookkeeping counter for learning-rate decay or retraining cadence.
Cumulative observation weight folded in.
Fitted weight per feature, indexed by the same i as the input x[i].
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.
DiagonalRegressionResult
biasPrecision
Posterior precision (inverse variance) on the bias term.
bias
link
precision
Per-coefficient precision (inverse variance). Same length as weights.
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 observation weight folded in.
weights
Fitted weight per feature, indexed by the same i as the input x[i].