original_docstring:  Wrapper around stop training for measuring times 
docstring: Wrapper around stop training for measuring times
docstring_tokens: Wrapper around stop training for measuring times
code: def stop_training(self):
          """ Wrapper around stop training for measuring times """
          if self.samples is None or len(self.samples) == 0:
              self._log("No training data given to classification node (%s), "
                        % self.__class__.__name__ + "wrong class labels "
                        + "used or your classifier is not using samples.",
                          level=logging.CRITICAL)
          start_time_stamp = timeit.default_timer()
          super(RegularizedClassifierBase, self).stop_training()
          stop_time_stamp = timeit.default_timer()
          if not self.classifier_information.has_key("Training_time(classifier)"):
              self.classifier_information["Training_time(classifier)"] = \
                  stop_time_stamp - start_time_stamp
          else:
              self.classifier_information["Training_time(classifier)"] += \
                  stop_time_stamp - start_time_stamp
code_tokens: def stop_training ( self ) : if self . samples is None or len ( self . samples ) == 0 : self . _log ( "No training data given to classification node (%s), " % self . __class__ . __name__ + "wrong class labels " + "used or your classifier is not using samples." , level = logging . CRITICAL ) start_time_stamp = timeit . default_timer ( ) super ( RegularizedClassifierBase , self ) . stop_training ( ) stop_time_stamp = timeit . default_timer ( ) if not self . classifier_information . has_key ( "Training_time(classifier)" ) : self . classifier_information [ "Training_time(classifier)" ] = stop_time_stamp - start_time_stamp else : self . classifier_information [ "Training_time(classifier)" ] += stop_time_stamp - start_time_stamp
short_docstring: Wrapper around stop training for measuring times
short_docstring_tokens: Wrapper around stop training for measuring times
comment: """ Wrapper around stop training for measuring times """