Nothing
#' @export
print.boostr <- function(x, ...) {
reweighterOutput <- reweighterOutput(x)
numEstimators <- length(ensembleEstimators(x))
performance <- estimatorPerformance(x)
cat(paste0("A boostr object composed of ", numEstimators, " estimators.\n"))
cat(paste0("\nAvailable performance metrics: ",
paste0(names(performance[[1]]), collapse=", "), "\n"))
cat("\nStructure of reweighter output:\n")
cat(str(reweighterOutput), "\n")
if (extractCalcBoostrPerformance(x)) {
cat("Performance of Boostr object on Learning set:\n")
print(extractPerformanceOnLearningSet(x))
cat("\n")
}
invisible(x)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.