Feature subset grader that uses a statistical test.
Definition at line 2 of file fsg_test.m.
|
Property | f_aggr |
| =. Function pointer to aggregate a vector of pairwise grades. As seen, the default behaviour is taking the least grade obtained among all pairwise gradings. More...
|
|
Property | sgs |
| SGS object. If set,. More...
|
|
Property | fext |
|
Property | data |
|
Property | title |
|
Property | color |
|
function fsg_test::fsg_test |
( |
in |
o | ) |
|
function fsg::boot |
( |
in |
o | ) |
|
|
inherited |
function fsg::calculate_grades |
( |
in |
o, |
|
|
in |
idxs |
|
) |
| |
|
inherited |
May return one grade or a vector thereof
- Parameters
-
idxs | May be either: a cell of feature subsets; or a vector of feature indexes. Developers please note that it is the end class responsibility to give proper treatment to this. The option is left open for speed, as there is no point in using a cell in univariate cases. |
function set fsg::data |
( |
in |
o, |
|
|
in |
data |
|
) |
| |
|
inherited |
function fsg_test::do_calculate_pairgrades |
( |
in |
o, |
|
|
in |
idxs |
|
) |
| |
|
protected |
If sgs
is set, performs cross-validation loop based on subddd
, otherwise used datasets
to test.
function irobj::do_get_html |
( |
in |
o | ) |
|
|
protectedinherited |
Abstract. HTML inner body.
function irobj::do_get_report |
( |
in |
o | ) |
|
|
protectedinherited |
function irobj::extract_log |
( |
in |
o | ) |
|
|
inherited |
- Parameters
-
- Returns
- [o, log]
function irobj::get_ancestry |
( |
in |
o, |
|
|
in |
flag_title |
|
) |
| |
|
inherited |
function irobj::get_description |
( |
in |
o, |
|
|
in |
flag_short |
|
) |
| |
|
inherited |
Returns description string
Precedence according with flag_short:
- 0: title > short > classtitle
- 1: short > title > classtitle
- Parameters
-
flag_short=0 | I am sealing this to make sure that no class will try to improvise on this function. |
function irobj::get_html |
( |
in |
o, |
|
|
in |
flag_stylesheet |
|
) |
| |
|
inherited |
- Parameters
-
flag_stylesheet=1 | Whether to include the stylesheet in the HTML |
function irobj::get_methodname |
( |
in |
o, |
|
|
in |
flag_short |
|
) |
| |
|
inherited |
This is used only to compose sequence string e.g. xxx->yyy->zzz
- Parameters
-
function irobj::get_params |
( |
in |
o, |
|
|
in |
data |
|
) |
| |
|
inherited |
Calls Parameters GUI.
If flag_params
, tries uip_<class>.m. If fails, tries uip_<ancestor>.m and so on
function irobj::get_report |
( |
in |
o | ) |
|
|
inherited |
Object reports are plain text. HTML would be cool but c'mon, we don't need that sophistication.
function fsg::get_yname |
( |
in |
o | ) |
|
|
inherited |
- Returns
- A string for an y-axis label
function fsg::get_yunit |
( |
in |
o | ) |
|
|
inherited |
- Returns
- A string for a y-axis unit
function fsg::reset |
( |
in |
o | ) |
|
|
protectedinherited |
function irobj::setbatch |
( |
in |
o, |
|
|
in |
params |
|
) |
| |
|
inherited |
Sets several properties of an object at once.
- Parameters
-
o | |
params | Cell followint the pattern{'property1', value1, 'property2', value2, ...} |
function fsg_test::test |
( |
in |
o, |
|
|
in |
dd, |
|
|
in |
idxs |
|
) |
| |
|
protected |
Property irobj::classtitle |
|
protectedinherited |
Class Title. Should have a descriptive name, as short as possible.
Definition at line 50 of file irobj.m.
=[0, .8, 0]. multipurpose feature, routines may use it for different things. Major use is to change the background of objtool and blockmenu. See also classes_html.m
Definition at line 42 of file irobj.m.
Assigned by set_data()
If not pairwise (see flag_pairwise), data
will be assigned to datasets.
If pairwise, datasets will be a matrix of dimensions (number of pairs)x(numel(data))
Why one would pass a more-than-one-element dataset through data
depends on the behaviour of a particular fsg descendant. For instance a two-element vector could be a train-test pair.
Please note that
Definition at line 57 of file fsg.m.
=. Function pointer to aggregate a vector of pairwise grades. As seen, the default behaviour is taking the least grade obtained among all pairwise gradings.
Definition at line 12 of file fsg.m.
Some trainable block for convenience. This can be used to pass a pre_std so that it doesn't have to be part of the classifier itself. This block typically is trainable and treats the features independently. Having it as part of the classifier would result in unnecessary repetition of the same operation.
Definition at line 20 of file fsg.m.
Property fsg::flag_booted |
|
protectedinherited |
Definition at line 42 of file fsg.m.
Property fsg::flag_pairwise |
|
protectedinherited |
=0;
Definition at line 26 of file fsg.m.
Property irobj::flag_params |
|
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.
Definition at line 57 of file irobj.m.
Prepared.
Definition at line 37 of file fsg.m.
(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).
Definition at line 60 of file irobj.m.
Property fsg::flag_univariate |
|
protectedinherited |
=0;
Definition at line 29 of file fsg.m.
Definition at line 31 of file fsg.m.
Property irobj::moreactions |
|
protectedinherited |
(GUI setting) String cell containing names of methods that may be called from the GUIs
Definition at line 63 of file irobj.m.
Property fsg::pvt_flag_pairwise |
|
protectedinherited |
The algorithm is clever enough to go non-pairwise mode if flag_pairwise is TRUE but the dataset has less than three classes.
Definition at line 45 of file fsg.m.
SGS object. If set,.
Definition at line 15 of file fsg.m.
Short for the method name.
Definition at line 53 of file irobj.m.
Assigned by prepare(). This is a cell vector of Cell of matrices of irdata
datasets.
Definition at line 34 of file fsg.m.
The documentation for this class was generated from the following file: