Learn R Programming

OptHoldoutSize (version 0.1.0.1)

oracle_pred: Generate responses

Description

Probably for deprecation

Usage

oracle_pred(X, coefs, num_vars = 3, noise = TRUE)

Value

Vector of predictions

Arguments

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

Examples

Run this code

# See examples for model_predict

Run the code above in your browser using DataLab