ccl_learna_sfa
PURPOSE
[model, stats] = ccl_learna_sfa (V, Un, model, search)
SYNOPSIS
function [model, stats] = ccl_learna_sfa (V, Un, model, search)
DESCRIPTION
CROSS-REFERENCE INFORMATION
This function calls:
This function is called by:
SOURCE CODE
0001 function [model, stats] = ccl_learna_sfa (V, Un, model, search)
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 for i = 1:search.dim_s
0017 alpha = search.alpha{i} ;
0018 AA = pinv(alpha)*alpha ;
0019 stats.umse(i) = sum ( V*AA(:) ) ;
0020 end
0021 [min_err, min_ind] = min(stats.umse) ;
0022 model.theta = search.theta{min_ind} ;
0023 model.alpha = search.alpha{min_ind} ;
0024 model.P = search.I_u - pinv(model.alpha) * model.alpha ;
0025 model.variance = sum(var( model.P*Un, 0, 2)) ;
0026 model.umse_j = stats.umse(min_ind) / search.dim_n ;
0027 model.nmse_j = model.umse_j / model.variance ;
0028 end
Generated on Mon 01-Jan-2018 15:49:39 by m2html © 2005