(labels, predict, name=None)
| 21 | |
| 22 | |
| 23 | def acc_score(labels, predict, name=None): |
| 24 | predictions = tf.floor(predict + 0.5) |
| 25 | _, acc = tf.metrics.accuracy(labels, predictions) |
| 26 | return acc |
| 27 | |
| 28 | |
| 29 | def auc_score(labels, predict, num_thresholds=5000): |
nothing calls this directly
no outgoing calls
no test coverage detected