powered by
Split data into holdout and intervention sets
split_data(X, frac)
Vector of TRUE/FALSE values (randomised) with proportion frac as TRUE
frac
Matrix of observations
Fraction of observations to use for the training set
# See examples for model_predict
Run the code above in your browser using DataLab