IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy
calc_predictive_values.m File Reference

Detailed Description

Calculates predictive values.

P(a|A) = P(A|a)*P(a)/P(A)

However this formula is not used, because it is easier to use a column of the confusion matrix

P(a|A) is the probability of belonging to class 'a' given that you have been classified as so.

Definition in file calc_predictive_values.m.

Go to the source code of this file.

Functions

function calc_predictive_values (in cc)
 

Function Documentation

function calc_predictive_values ( in  cc)
Parameters
ccconfusion matrix in HITS, NOT PERCENTAGE
Returns
values predictive values for each column of cc