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

Function binary_test__str__

tools/python/src/decision_functions.cpp:304–309  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

302// ----------------------------------------------------------------------------------------
303
304std::string binary_test__str__(const binary_test& item)
305{
306 std::ostringstream sout;
307 sout << "class1_accuracy: "<< item.class1_accuracy << " class2_accuracy: "<< item.class2_accuracy;
308 return sout.str();
309}
310std::string binary_test__repr__(const binary_test& item) { return "< " + binary_test__str__(item) + " >";}
311
312std::string regression_test__str__(const regression_test& item)

Callers 1

binary_test__repr__Function · 0.85

Calls 1

strMethod · 0.45

Tested by

no test coverage detected