Base classBase.Rdthe Base class used by other objects; useful
for extensions of the package, not for basic
interactions with the package
new()Create a new object.
Base$new(
name = "Base",
type = "none",
model = NULL,
method = NULL,
X_train = NULL,
y_train = NULL,
pi_method = c("none", "splitconformal", "kdesplitconformal", "bootsplitconformal",
"jackknifeplus", "kdejackknifeplus", "bootjackknifeplus", "surrsplitconformal",
"surrjackknifeplus"),
level = 95,
B = 100,
nb_hidden = 0,
nodes_sim = c("sobol", "halton", "unif"),
activ = c("relu", "sigmoid", "tanh", "leakyrelu", "elu", "linear"),
engine = NULL,
params = NULL,
seed = 123
)namename of the class
typetype of supervised learning method implemented
modelfitted model
methodsupevised learning method
X_traintraining set features
y_traintraining set response
pi_methodtype of prediction interval in c("splitconformal", "kdesplitconformal", "bootsplitconformal", "jackknifeplus", "kdejackknifeplus", "bootjackknifeplus", "surrsplitconformal", "surrjackknifeplus")
levelan integer; the level of confidence
Ban integer; the number of simulations when level is not NULL
nb_hiddennumber of nodes in the hidden layer, for construction of a quasi- randomized network
nodes_simtype of 'simulations' for hidden nodes, if nb_hidden > 0;
takes values in c("sobol", "halton", "unif")
activactivation function's name for the hidden layer, in the construction of a quasi-randomized network; takes values in c("relu", "sigmoid", "tanh", " leakyrelu", "elu", "linear")
enginecontains fit and predict lower-level methods for the given method;
do not modify by hand
paramsadditional parameters passed to method when calling fit
seedan integer; reproducibility seed for methods that include randomization
summary()Base$summary(
X,
show_progress = TRUE,
class_name = NULL,
class_index = NULL,
y = NULL,
type_ci = c("student", "nonparametric", "bootstrap", "conformal"),
cl = NULL
)