Hello, I am using UQlab 1.3.0, and using PCE to build a surrogate from existing data. It was functioning before the update, and some changes, I am receiving the following error when I try to execute
myPCE = uq_createModel(MetaOpts);
Warning: Warning: numerical instability!! Gamma for
LAR iteration 2 was set to 0 to prevent crashes.In uq_lar (line 268)
In uq_PCE_lars (line 60)
In uq_PCE_calculate_coefficients_regression (line 197)
In uq_PCE_calculate_coefficients (line 47)
In uq_calculateMetamodel (line 18)
In uq_initialize_uq_metamodel (line 358)
In uq_core_module/run_initialization_script
In uq_core_model/add_module
In uq_createModel
In PCE_CE (line 66)
Incorrect dimensions for matrix multiplication.
Check that the number of columns in the first matrix
matches the number of rows in the second matrix. To
perform elementwise multiplication, use â.*â.Error in uq_blockwise_inverse (line 26) SCinv = 1/(D - C*Ainv*B);
Error in uq_lar (line 214)
M = uq_blockwise_inverse(M,x,xâ,r) ;Error in uq_PCE_lars (line 60)
lar_results = uq_lar(Psi, Y, lar_options);Error in uq_PCE_calculate_coefficients_regression
(line 197)
lars_results =
uq_PCE_lars(univ_p_val,
current_model);Error in uq_PCE_calculate_coefficients (line 47)
uq_PCE_calculate_coefficients_regression(current_model);Error in uq_calculateMetamodel (line 18)
success =
uq_PCE_calculate_coefficients(current_model);Error in uq_initialize_uq_metamodel (line 358)
success = uq_calculateMetamodel(current_model);Error in PCE_CE (line 66)
myPCE = uq_createModel(MetaOpts);
Iâve tried to undo all the changes Iâve made, but this error keeps showing up. I should note, that the dimensions of my input are 12, and the output is 10. The coefficient for the first output variable solves, and the error is given when solving for the coefficients for the second output variable.
My appologies if I am unclear in explaining my problem, any help as to where I should troubleshoot would be appreciated. Iâve verified that the input and output data sets for training and validation match(MetaOpts.ExpDesign, MetaOpts.ValidationSet), and (InputOpts.Marginals) is appropriatly dimensioned as well.