MCPcopy Create free account
hub / github.com/davisking/dlib / regression_test__str__

Function regression_test__str__

tools/python/src/decision_functions.cpp:312–318  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

310std::string binary_test__repr__(const binary_test& item) { return "< " + binary_test__str__(item) + " >";}
311
312std::string regression_test__str__(const regression_test& item)
313{
314 std::ostringstream sout;
315 sout << "mean_squared_error: "<< item.mean_squared_error << " R_squared: "<< item.R_squared;
316 sout << " mean_average_error: "<< item.mean_average_error << " mean_error_stddev: "<< item.mean_error_stddev;
317 return sout.str();
318}
319std::string regression_test__repr__(const regression_test& item) { return "< " + regression_test__str__(item) + " >";}
320
321std::string ranking_test__str__(const ranking_test& item)

Callers 1

regression_test__repr__Function · 0.85

Calls 1

strMethod · 0.45

Tested by

no test coverage detected