StochasticRegressionResult
SGD weight estimates with no posterior. Cheap, no uncertainty quantification. sse carries the accumulated per-link loss; for Link.Identity this is the classical SSE, for Link.Logit / Link.Log it is the GLM deviance (negative log-likelihood). HasRegression.mse / HasRegression.rmse / HasRegression.rSquared are only natural under Identity.
Constructors
Properties
Number of features in weights.
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.
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.
Per-optimiser auxiliary state (e.g. Adam's m/v); empty for plain SGD.
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.
StochasticRegressionResult
bias
link
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.
updaterState
Per-optimiser auxiliary state (e.g. Adam's m/v); empty for plain SGD.
weights
Fitted weight per feature, indexed by the same i as the input x[i].