Commit 7c9503c8 authored by Michael Zbyszyński's avatar Michael Zbyszyński
Browse files

Fixing RapidLib unit test

parent de3b2f64
......@@ -33,8 +33,8 @@ SCENARIO("Test NN Regression", "[machineLearning]")
std::string filepath = "/var/tmp/modelSetDescription.json";
myNN.writeJSON(filepath);
std::vector<double> inputVec = { 1.618, 18.9 }; //arbitrary input
REQUIRE(myNN.run(inputVec)[0] == 12.596715279688551);
std::vector<double> inputVec = { 1.618, 18.9 }; //arbitrary input
REQUIRE(myNN.run(inputVec)[0] == 12.596715279688549);
WHEN("when NN model is deserialized from file")
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment