def afterTest(self, earlyStop):
if not earlyStop:
self.saveCap()
ca = np.mean(np.diag(self.confusion))/self.nTestTrial
wx.MessageBox(('Test CA: %f\n' % ca) +
'Confusion Matrix:\n' + str(self.confusion/self.nTestTrial),
'Testing Complete', wx.OK | wx.ICON_INFORMATION)
评论列表
文章目录