oracle_pred {OptHoldoutSize}R Documentation

Generate responses

Description

Probably for deprecation

Usage

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

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

Value

Vector of predictions

Examples


# See examples for model_predict

[Package OptHoldoutSize version 0.1.0.0 Index]