The loss-round curve can be obtained by the following code. Could you tell me how to obtain the error rate?
trainingdata = {1 -> 1.5, 2.5 -> 4, 3.5 -> 9, 4 -> 16.5, 5 -> 25,
6 -> 37, 6.6 -> 49, 8 -> 65, 9 -> 81, 10 -> 102};
net = NetChain[{5, Ramp, 5, 1}];
trained =
NetTrain[net, trainingdata, All, ValidationSet -> Scaled[0.3]]