get_coef.GPModel {gpboost} | R Documentation |
Get (estimated) linear regression coefficients
Description
Get (estimated) linear regression coefficients and standard deviations (if std_dev=TRUE was set in fit
)
Usage
## S3 method for class 'GPModel'
get_coef(gp_model)
Arguments
gp_model |
A |
Value
A GPModel
Author(s)
Fabio Sigrist
Examples
data(GPBoost_data, package = "gpboost")
X1 <- cbind(rep(1,dim(X)[1]),X) # Add intercept column
gp_model <- fitGPModel(group_data = group_data[,1], y = y, X = X1, likelihood="gaussian")
get_coef(gp_model)
[Package gpboost version 1.5.1.1 Index]