View source: R/estimator_plans.R
fit_on_train | R Documentation |
Initializes the estimator (if necessary) on the train
sample.
fit_on_train(obj, X_tr, y_tr, d_tr, cv_folds, verbosity = 0, dim_cat = c())
obj |
an |
X_tr |
N_trxK matrix |
y_tr |
N_tr-vector |
d_tr |
NULL, N_tr-vector, or N_trxM matrix (if multiple treatments) |
cv_folds |
CV folds |
verbosity |
verbosity |
dim_cat |
vector of dimensions that are categorical |
Updated EstimatorPlan object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.