Description Usage Arguments Examples
T-learner learns the treated and control expected outcome respectively by fitting two separate models.
1 2 3 4 5 6 7 8 9 10 11 |
x |
the input features |
w |
the treatment variable (0 or 1) |
y |
the observed response (real valued) |
alpha |
tuning parameter for the elastic net |
k_folds_mu1 |
number of folds for cross validation for the treated |
k_folds_mu0 |
number of folds for cross validation for the control |
lambda |
user-supplied lambda sequence for cross validation |
lambda_choice |
how to cross-validate; choose from "lambda.min" or "lambda.1se" |
penalty_factor |
user-supplied penalty factor, must be of length the same as number of features in x |
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.