<< model_forward Neural_Network_Functions nn_onehot >>

NeuralNet >> Neural_Network_Functions > nn_eval_performance

nn_eval_performance

Evaluate the network performance

Parameters

yhat :

Predicted output

y :

Actual target

ot :

Orientation, 'r' or 'c'

acc :

Accuracy

Description

This function used to evaluate the accuracy of predicted output

Examples

P = [1 2 3 4; 1 2 3 4]./2 - 1; // Simple Normalization
Tc = [1 2 3 4];
T = nn_onehot(Tc); // Convert to one-hot encoding
[P_train, T_train, P_test, T_test] = nn_split_data(P,T,0.25,3);

See also

Authors


Report an issue
<< model_forward Neural_Network_Functions nn_onehot >>