![]() |
IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy
|
Calculates scatter matrices from dataset.
Definition in file data_calculate_scatters.m.
Go to the source code of this file.
Functions | |
| function | data_calculate_scatters (in data, in flag_modified_s_b, in P) |
| function data_calculate_scatters | ( | in | data, |
| in | flag_modified_s_b, | ||
| in | P | ||
| ) |
| data | irdata object |
| flag_modified_s_b | if 1, S_B will be calculated in an alternative way which is class terms will not be weighet by class sample size, which will cause all classes to have equal importance. |
| P | penalty matrix to be added to S_W |