(self)
Update current active learning progress
Update current active learning progress
Update current active learning progress
def __update_info(self):
        """Update current active learning progress"""
        state = self.__state_list[len(self) - 1]
        if 'cost' in state.keys():
            self.cost_inall += np.sum(state.get_value('cost'))
        self._numqdata += len(state.get_value('select_index'))
def __update_info ( self ) : state = self . __state_list [ len ( self ) - 1 ] if 'cost' in state . keys ( ) : self . cost_inall += np . sum ( state . get_value ( 'cost' ) ) self . _numqdata += len ( state . get_value ( 'select_index' ) )