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

Class binary_test

tools/python/src/testing_results.h:8–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6#include <dlib/matrix.h>
7
8struct binary_test
9{
10 binary_test() : class1_accuracy(0), class2_accuracy(0) {}
11 binary_test(
12 const dlib::matrix<double,1,2>& m
13 ) : class1_accuracy(m(0)),
14 class2_accuracy(m(1)) {}
15
16 double class1_accuracy;
17 double class2_accuracy;
18};
19
20struct regression_test
21{

Calls

no outgoing calls

Tested by

no test coverage detected