Warning
This page is located in archive.

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
courses:be5b33prg:homeworks:spam:step3 [2015/12/14 14:14]
xposik [Function ''compute_quality_for_corpus()'']
courses:be5b33prg:homeworks:spam:step3 [2015/12/14 14:24]
xposik [Function ''quality_score()'']
Line 14: Line 14:
  
 ^ ''​quality_score(tp,​ tn, fp, fn) ''​ Compute the quality score based on the confusion matrix. ^^ ^ ''​quality_score(tp,​ tn, fp, fn) ''​ Compute the quality score based on the confusion matrix. ^^
-^ Inputs | 4-tuple of values ​TP, TN, FP, FN. |+^ Inputs | 4 nonnegative integers for TP, TN, FP, FN. |
 ^ Outputs | A number between 0 and 1 showing the prediction quality measure. | ^ Outputs | A number between 0 and 1 showing the prediction quality measure. |
  
courses/be5b33prg/homeworks/spam/step3.txt ยท Last modified: 2015/12/14 14:24 by xposik