R/utils.R
nn_pred.Rd
Neural network prediction
nn_pred(X, W, q, output = "identity")
Data
Weight vector
Number of hidden nodes
Activation function for output unit: "identity" (default) or "sigmoid"
"identity"
"sigmoid"
Prediction for given inputs