add errorFromDataSet(dataset) method for evaluating the error
on any given dataset with the current parameter configuration
in DeepNetworks.