MCPcopy Create free account
hub / github.com/Vegetebird/GraphMLP / print_error

Function print_error

common/utils.py:39–43  ·  view source on GitHub ↗
(data_type, action_error_sum, is_train)

Source from the content-addressed store, hash-verified

37
38
39def print_error(data_type, action_error_sum, is_train):
40 mean_error_p1, mean_error_p2, pck, auc = 0, 0, 0, 0
41 mean_error_p1, mean_error_p2, pck, auc = print_error_action(action_error_sum, is_train, data_type)
42
43 return mean_error_p1, mean_error_p2, pck, auc
44
45def print_error_action(action_error_sum, is_train, data_type):
46 mean_error_each = {'p1': 0.0, 'p2': 0.0, 'pck': 0.0, 'auc': 0.0}

Callers 1

testFunction · 0.85

Calls 1

print_error_actionFunction · 0.85

Tested by

no test coverage detected