original_docstring: 
  		Return the highest-scoring label for the document under the current model.
  		
docstring: Return the highest-scoring label for the document under the current model.
docstring_tokens: Return the highest - scoring label for the document under the current model .
code: def predict(self, doc):
  		"""
  		Return the highest-scoring label for the document under the current model.
  		"""
  		max_score = self.score(doc, self.CLASSES[0])
  		predict_label = self.CLASSES[0]
  		for i in range(1, len(self.CLASSES)):
  			score = self.score(doc, self.CLASSES[i])
  			if max_score <= score:
  				max_score = score
  				predict_label = self.CLASSES[i]
  		return predict_label
code_tokens: def predict ( self , doc ) : max_score = self . score ( doc , self . CLASSES [ 0 ] ) predict_label = self . CLASSES [ 0 ] for i in range ( 1 , len ( self . CLASSES ) ) : score = self . score ( doc , self . CLASSES [ i ] ) if max_score <= score : max_score = score predict_label = self . CLASSES [ i ] return predict_label
short_docstring: Return the highest-scoring label for the document under the current model.
short_docstring_tokens: Return the highest - scoring label for the document under the current model .
comment: """
  		Return the highest-scoring label for the document under the current model.
  		"""