![]() |
IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy
|
Paired Vector Comparer base class.
Compares two vectors. Number of elements must be the same in both vector. This is applied to:
Depending on the case (i.e., the vectorcomp descendant considered), the vectors must be classification rates or the class predictions themselves. See the descendant classes (i.e., classes vectorcomp_*)
Definition at line 9 of file vectorcomp.m.
Public Member Functions | |
function | vectorcomp (in o) |
function | test (in o, in v1, in v2) |
function | crosstest (in o, in R) |
function | get_description (in o, in flag_short) |
function | setbatch (in o, in params) |
Sets several properties of an object at once. More... | |
function | get_methodname (in o, in flag_short) |
function | get_report (in o) |
Object reports are plain text. HTML would be cool but c'mon, we don't need that sophistication. More... | |
function | get_html (in o, in flag_stylesheet) |
function | get_params (in o, in data) |
Calls Parameters GUI. More... | |
function | extract_log (in o) |
function | get_ancestry (in o, in flag_title) |
Public Attributes | |
Property | title |
Property | color |
Protected Member Functions | |
function | do_test (in o, in vv) |
function | do_get_report (in o) |
Default report. More... | |
function | do_get_html (in o) |
Abstract. HTML inner body. More... | |
Protected Attributes | |
Property | classtitle |
Class Title. Should have a descriptive name, as short as possible. More... | |
Property | short |
Short for the method name. More... | |
Property | flag_params |
Property | flag_ui |
(GUI setting) Whether to "publish" in blockmenu and datatool. Note that a class can be "published" without a GUI (set flag_params=0 in this case, at the class constructor). More... | |
Property | moreactions |
(GUI setting) String cell containing names of methods that may be called from the GUIs More... | |
function vectorcomp::vectorcomp | ( | in | o | ) |
function vectorcomp::crosstest | ( | in | o, |
in | R | ||
) |
Cross-test of many vectors
Performs the test with all combinations of the columns of R
The resulting table should be read as: the row represents the first variable and the column represents the second variable.
Examples:
o | |
R | a matrix of shape [v1, v2, v3, v4, ...] |
|
protectedinherited |
Abstract. HTML inner body.
|
protectedinherited |
Default report.
|
protected |
|
inherited |
o |
|
inherited |
o | |
flag_title=1 |
|
inherited |
Returns description string
Precedence according with flag_short:
flag_short=0 | I am sealing this to make sure that no class will try to improvise on this function. |
|
inherited |
flag_stylesheet=1 | Whether to include the stylesheet in the HTML |
|
inherited |
This is used only to compose sequence string e.g. xxx->yyy->zzz
flag_short=0 |
|
inherited |
Calls Parameters GUI.
If flag_params
, tries uip_<class>.m. If fails, tries uip_<ancestor>.m and so on
|
inherited |
Object reports are plain text. HTML would be cool but c'mon, we don't need that sophistication.
|
inherited |
Sets several properties of an object at once.
o | |
params | Cell followint the pattern{'property1', value1, 'property2', value2, ...} |
function vectorcomp::test | ( | in | o, |
in | v1, | ||
in | v2 | ||
) |
|
protectedinherited |
|
inherited |
|
protectedinherited |
=1. (GUI setting) Whether to call a GUI when the block is selected in blockmenu.m . If true, a routine called "uip_"<class name> will be called.
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |