Shape
Shape
I use `flexbox`, so wrap the whole thing in `tags$div(class = 'flexbox', ...)` and then control it via css with something like this: (you do need to load `library(shiny)` for...
Getting same error under a number of models trained under 1.0.x.x
Sure will try, in the meantime, here's a more detailed trace: ``` Error in predict.xgb.Booster(modelFit, newdata) : [06:35:16] amalgamation/../src/learner.cc:506: Check failed: mparam_.num_feature != 0 (0 vs. 0) : 0 feature...
> Could you please make a clean install? Sometimes there's leftover during R package update, which might cause these kinds of issues. Should be noted, however, that the first incidence...
This toy script reproduces the issue for me ```{code:R} # From a session with xgboost version 1.0.02 stopifnot(packageVersion('xgboost') == '1.0.0.2') training_data
Importantly, the reason why we use `saveRDS` or `save` is because it works nicely to include an xgboost model in an R package. So, for example, I can do: ```{R}...
> @shapenaji Do you have any insight into how saveRDS() works and if a package can customize it? Unfortunately no, I don't have any insight here. Not sure if it's...
> @shapenaji Is it possible to embed a string in your R package? Or use `saveRDS()` with a string? You can save the XGBoost model as a JSON string. Yes,...
How would we do this exactly? I was looking at the existing methods and I don't immediately see how we would convert to-from json
Thanks all. One thing here is that xgboost is part of the caret family of models. And there is regular advice [like this](https://stackoverflow.com/questions/14761496/saving-and-loading-a-model-in-r) to use RDS for these sorts of...