This function can be used to print the trace of the parameters of a trained compboost object.

getCustomCppExample(example = "blearner", silent = FALSE)



Character value indicating if an example for the base-learner or for the loss should be returned. The values has to be one of blearner or loss.


Logical value indicating if the example code should be printed to the screen or not.


This function returns a character vector that can be compiled using Rcpp::sourceCpp(code = getCustomCppExample()) to define a new custom cpp logger.