Skip to contents

Neural network prediction

Usage

nn_pred(X, W, q, output = "identity")

Arguments

X

Data

W

Weight vector

q

Number of hidden nodes

output

Activation function for output unit: "identity" (default) or "sigmoid"

Value

Prediction for given inputs