![]() |
IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy
|
Learning curve: (percent dataset used for training)x(classification rate)
The purpose of this class is to store a cell of vectors (the celldata property). The vectors may vary in size.
Each row has a different "name" (rownames property).
If generated by a reptt_sgs, there will be one case only (first log) and the changing conditions are the different blocks.
Definition at line 10 of file log_celldata.m.
Public Member Functions | |
function | log_celldata () |
function | draw (in o, in idx, in flag_std) |
function | extract_dataset (in o) |
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 | fea_x |
X-axis. Related to the columns of celldata. More... | |
Property | xname |
X-axis label. Related to the columns of celldata. More... | |
Property | xunit |
X-axis unit. Related to the columns of celldata. More... | |
Property | yname |
X-axis label. Related to the rows of celldata. More... | |
Property | yunit |
X-axis unit. Related to the rows of celldata. More... | |
Property | celldata |
Property | rownames |
Case names, for legend. More... | |
Property | title |
Property | color |
Protected Member Functions | |
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 log_celldata::log_celldata | ( | ) |
|
protectedinherited |
Abstract. HTML inner body.
|
protectedinherited |
Default report.
function log_celldata::draw | ( | in | o, |
in | idx, | ||
in | flag_std | ||
) |
Draws with hachures (optional)
idx=all | Indexes of cases |
flag_std=1 | Whether to draw the standard deviation as well |
flag_perc_x=[] | Whether to make the x-axis a percentage. If not passed, will use internal setup |
flag_perc_y=[] | Whether to make the y-axis a percentage. If not passed, will use internal setup |
function log_celldata::extract_dataset | ( | in | o | ) |
|
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, ...} |
Property log_celldata::celldata |
Cell of dimensions (number of cases)x(number of conditions per case)
Definition at line 34 of file log_celldata.m.
|
protectedinherited |
|
inherited |
Property log_celldata::fea_x |
X-axis. Related to the columns of celldata.
Definition at line 16 of file log_celldata.m.
|
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 |
Property log_celldata::rownames |
Case names, for legend.
Definition at line 37 of file log_celldata.m.
|
protectedinherited |
Property log_celldata::xname |
X-axis label. Related to the columns of celldata.
Definition at line 19 of file log_celldata.m.
Property log_celldata::xunit |
X-axis unit. Related to the columns of celldata.
Definition at line 22 of file log_celldata.m.
Property log_celldata::yname |
X-axis label. Related to the rows of celldata.
Definition at line 25 of file log_celldata.m.
Property log_celldata::yunit |
X-axis unit. Related to the rows of celldata.
Definition at line 28 of file log_celldata.m.