original_docstring:  Calculate D x V matrix, where larger values => underprediction
      
docstring: Calculate D x V matrix, where larger values => underprediction
docstring_tokens: Calculate D x V matrix where larger values = > underprediction
code: def calcDocWordUnderpredictionScores(Data, model, LP):
      ''' Calculate D x V matrix, where larger values => underprediction
      '''
      WordFreq_model = calcWordFreq_model(model, LP)
      WordFreq_emp = calcWordFreq_empirical(Data)
      DocWordScores = WordFreq_emp - WordFreq_model
      return DocWordScores
code_tokens: def calcDocWordUnderpredictionScores ( Data , model , LP ) : WordFreq_model = calcWordFreq_model ( model , LP ) WordFreq_emp = calcWordFreq_empirical ( Data ) DocWordScores = WordFreq_emp - WordFreq_model return DocWordScores
short_docstring: Calculate D x V matrix, where larger values => underprediction
short_docstring_tokens: Calculate D x V matrix where larger values = > underprediction
comment: ''' Calculate D x V matrix, where larger values => underprediction
      '''