Update min IG stopping criterion

This commit is contained in:
Michel Breyer 2021-11-11 15:19:49 +01:00
parent 524f4465dd
commit 64730721cd

View File

@ -80,7 +80,7 @@ class NextBestView(MultiViewPolicy):
i = np.argmax(utilities)
nbv, gain = views[i], gains[i]
if gain < self.min_gain:
if gain < self.min_gain and len(self.views) > self.T:
self.done = True
self.x_d = nbv