IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy
report_soitem_merger_merger_fitest_1d.m
Go to the documentation of this file.
1 %> @brief 1D comparison table
2 %>
3 %> Compares performance estimations between several system set-ups
4 %>
5 %> The visual output is similar to report_soitem_sovalues, but this one handles
6 %> soitem_merger_merger_fitest object, which contains the soitem's grouped to do the 2D
7 %> comparison tables. So, this class has first to call
8 %> soitem_merger_merger_fitest::get_sovalues_1d().
9 classdef report_soitem_merger_merger_fitest_1d < report_soitem
10 % properties
11 % %> =(auto). Minimum value for the colour scaling of the HTML cells
12 % minimum = [];
13 % %> =(auto). Maximum value for the colour scaling of the HTML cells
14 % maximum = [];
15 % end;
16 %
17 
18 
19  properties
20  %> =1. Whether to generate the p-values tables
21  flag_ptable = 1;
22 
23  %> ={'rates', 'times3'}
24  names = {'rates', 'times3'}
25 
26  %> vectorcomp_ttest_right() with no logtake. vectorcomp object used tor the p-values tables
27  vectorcomp = [];
28 
29  %> Maximum number of table rows
30  maxrows = 20;
31  end;
32 
33  methods
34  function o = report_soitem_merger_merger_fitest_1d()
35  o.classtitle = '1D comparison table';
36  o.inputclass = 'soitem_merger_merger_fitest';
37 % o.flag_params = 1;
38  end;
39  end;
40 
41  methods(Access=protected)
42  function out = do_use(o, item)
43  out = log_html();
44 
45  s = o.get_standardheader(item);
46 
47  out.html = [s, o.get_html_graphics(item)];
48  out.title = item.get_description();
49  end;
50  end;
51 
52 
53  methods
54  %> Generates a table with the best in each architecture, with its respective time and confidence interval
55  %> @param item a soitem_merger_merger_fitest object
56  function s = get_html_graphics(o, item)
57 % it = soitem_sovalues();
58  sov = item.get_sovalues_1d();
59 % r = report_soitem_sovalues();
60 
61  r = report_sovalues_comparison();
62  r.dimspec = {[0, 0], [1, 2]};
63  r.flag_ptable = o.flag_ptable;
64  r.names = o.names;
65  r.vectorcomp = o.vectorcomp;
66  r.maxrows = o.maxrows;
67 
68  s = r.get_html_tables(sov);
69  end;
70  end;
71 end
Comparison and p-values tables.