HasSlope
Univariate special case of HasLinearModel: y = slope * x + intercept. The general weights vector and bias surface are derived from slope / intercept, so univariate regression results compose with any consumer written against HasLinearModel without storing redundant fields.
Implemented by com.eignex.kumulant.stat.regression.glm.UnivariateRegressionResult.
Inheritors
Properties
Link copied to clipboard
Number of features in weights.
Link copied to clipboard
Fitted weight per feature, indexed by the same i as the input x[i].
bias
featureSize
Number of features in weights.
intercept
predict
slope
weights
Fitted weight per feature, indexed by the same i as the input x[i].