From baf3fcb491ee1a5e083fbdfdf2c28aaf36488e92 Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Fri, 16 Feb 2018 23:26:08 +0000
Subject: [PATCH] Calculation TP, FP, FN, avg_IoU for default threshold during mAP calculation

---
 src/tree.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/tree.h b/src/tree.h
index b0b0ece..c3f4979 100644
--- a/src/tree.h
+++ b/src/tree.h
@@ -16,5 +16,6 @@
 tree *read_tree(char *filename);
 void hierarchy_predictions(float *predictions, int n, tree *hier, int only_leaves);
 void change_leaves(tree *t, char *leaf_list);
+float get_hierarchy_probability(float *x, tree *hier, int c);
 
 #endif

--
Gitblit v1.10.0