New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support RDS format in R package #91

khrisanfov opened this Issue Aug 20, 2017 · 2 comments


None yet
3 participants

khrisanfov commented Aug 20, 2017 <- train(....)
head(predict(, X_test)) # it works fine
saveRDS(, "") <- readRDS("")
head(predict(, X_test)) # caught segfault
*** caught segfault ***
address 0x48, cause 'memory not mapped'

1: .Call("CatBoostGetModelParams_R", model$handle)
2: catboost.get_model_params(modelFit)
3: method$predict(modelFit = modelFit, newdata = newdata, submodels = param)
4: predictionFunction(method = object$modelInfo, modelFit = object$finalModel,     newdata = newdata, preProc = object$preProcess)
5: predict.train(, X_test)
6: predict(, X_test)
7: head(predict(, X_test))

This comment has been minimized.


a4tunado commented Aug 20, 2017

RDS format is not supported yet. Use catboost.save_model and catboost.load_model instead.

@annaveronika annaveronika changed the title from R: Segfault on predict after loading from RDS format to Support RDS format in R package Aug 21, 2017


This comment has been minimized.


annaveronika commented Sep 13, 2018

This is implemented in our release 0.10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment