View source: R/OptHoldoutSize_simulation.R
oracle_pred | R Documentation |
Probably for deprecation
oracle_pred(X, coefs, num_vars = 3, noise = TRUE)
X |
Matrix of observations |
coefs |
Vector of coefficients for logistic model. |
num_vars |
If noise==FALSE, computes using only first num_vars predictors |
noise |
If TRUE, uses all predictors |
Vector of predictions
# See examples for model_predict
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.