def softmaxCostCallback(x): return softmax.cost(x, numClasses, inputSize, lambdaParam, trainData, trainLabels)
def softmaxCostCallback(x): return softmax.cost(x, numClasses, hiddenSizeL2, softmax_lambda, sae2Features, trainLabels)