rederive_xgb {glmnetr}R Documentation

Rederive XGB models not kept in nested.glmnetr() output

Description

Because the XGBoost models sometimes take large amounts of storage one may decide to set keep=0 with in the doxgb list passed to nested.glmnetr(). This function allows the user to rederive the XGBoost models without doing the search. Note, the random forest fitting routine does not allow for (start,stop) times.

Usage

rederive_xgb(object, xs, y_, event = NULL, type = "base", tuned = 1)

Arguments

object

A nested.glmnetr() output object

xs

Same xs used as input to ntested.glmnetr() for input object.

y_

Same y_ used as input to ntested.glmnetr() for input object.

event

Same event used as input to ntested.glmnetr() for input object.

type

Same type used as input to ntested.glmnetr() for input object.

tuned

1 (default) to derive the tuned model like with xgb.tuned(), 0 to derive the basic models like with xgb.simple().

Value

an output like nested.glmnetr()$xgb.simple.fitX or nested.glmnetr()$xgb.tuned.fitX for X in c("", "F", "O")

See Also

xgb.tuned , xgb.simple , nested.glmnetr


[Package glmnetr version 0.5-1 Index]