IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy
demo_factorscurve.m
Go to the documentation of this file.
1 %> @brief (number of factors)X(Classification rate) curve
2 %> @ingroup demo
3 %> @file
4 
6 ds = data_select_hierarchy(ds, 2); % N/T
7 
8 cl = clssr_d();
9 fe = fcon_pca();
10 fe.title = 'PCA';
11 
12 fc = factorscurve();
13 fc.clssr = cl;
14 fc.fcon_mold = fe;
15 fc.flag_parallel = 1; % <------------------------Note that it will try to use the MATLAB Parallel Computing Toolbox
16 fc.no_factorss = 1:ds.nf;
17 out = fc.use(ds); % Output is a dataset
18 
19 vi = vis_hachures();
20 figure;
21 vi.use(out);
22 
Principal Component Analysis.
Definition: fcon_pca.m:4
function data_select_hierarchy(in data, in hierarchy)
Linear and Quadratic discriminant.
Definition: clssr_d.m:9
Hachures showing intervals.
Definition: vis_hachures.m:2
Used to calculate (number of factors)x(performance) curves.
Definition: factorscurve.m:10
function load_data_she5trays()