25 std::cout <<
"Testing Loss Functions:" << std::endl << std::endl;
33 error = testMeanSquaredError<TReference<double>>(10);
34 std::cout <<
"Testing mean squared error loss: ";
35 std::cout <<
"maximum relative error = " << error << std::endl;
39 error = testMeanSquaredErrorGradients<TReference<double>>(10);
40 std::cout <<
"Testing mean squared error gradient: ";
41 std::cout <<
"maximum relative error = " << error << std::endl;
49 error = testCrossEntropy<TReference<double>>(10);
50 std::cout <<
"Testing cross entropy loss: ";
51 std::cout <<
"maximum relative error = " << error << std::endl;
55 error = testCrossEntropyGradients<TReference<double>>(10);
56 std::cout <<
"Testing cross entropy gradient: ";
57 std::cout <<
"maximum relative error = " << error << std::endl;
you should not use this method at all Int_t Int_t Double_t Double_t Double_t e