powered by
Computes the full value of the cross entropy for TeachNet
sumCrossEntropy(weights, data, h2)
current weights
data frame
number of neurons in second hidden layer
squaredError