object
bayesian_ridge_regression
Bayesian ridge regression regressor supporting continuous and mixed-feature datasets using evidence maximization and posterior uncertainty over coefficients. Learns from a dataset object implementing the regression_dataset_protocol protocol and returns a regressor term that can be used for prediction, predictive-distribution queries, and export as predicate clauses.
logtalk_load(bayesian_ridge_regression(loader))static, context_switching_callsPublic predicates
predict_distribution/3
Predicts the posterior predictive Gaussian distribution for a new instance using the learned regressor. The returned term has the shape gaussian(Mean, Variance) where Variance includes the learned observation noise variance and coefficient posterior uncertainty only; the intercept is not treated as a probabilistic parameter.
staticpredict_distribution(Regressor,Instance,Distribution)predict_distribution(+compound,+list,-compound) - oneweight_variances/2
Returns the posterior marginal variances of the encoded feature coefficients in encoder order. Encoded features dropped from fitting because they had zero variance are reported with posterior variance zero.
staticweight_variances(Regressor,Variances)weight_variances(+compound,-list(float)) - oneProtected predicates
(no local declarations; see entity ancestors if any)
Private predicates
(no local declarations; see entity ancestors if any)
Operators
(none)