Open Blunde1 opened 2 years ago
Running
set.seed(123)
x <- runif(5000, 0, 10)
y <- rnorm(5000, x, 1)
mod <- gbt.train(y, as.matrix(x))
gbt.save(mod, 'gbt_model.rds')
mod <- gbt.load('gbt_model.rds')
mod
I obtain
> mod
Error in sprintf("C++ object <%s> of class '%s' <%s>", externalptr_address(pointer), :
external pointer is not valid
Resolves #57