load ../../psData_SIM7_n60_i6_o1_y2 # load data file
ana_expert      # psuade> analysis expert mode on
printlevel 3    # psuade> printlevel set from 0 to 3
rscheck         # Check for best data-fitted surrogate model
10               # Select Gaussian Process Model (GPM) Tong implementation as response surface method
1               # Quantity of interest no
y               # Perform cross-cross_validation
60              # Enter the number of groups to validate : (2 - 60) 60 fold cross-validation
n               # Random selection of leave-out groups ? (y or n)
sys mv RSFA_CV_err.m C1_R2_GPM10_60F_RSFA_CV_err.m # Rename the CV error file before next one
sys mv RSFA_training_err.m C1_R2_GPM10_RSFA_training_err.m # Rename the training error file before next one
rs2
256             # Grid resolution ? (32 - 256)
10               # Available response surface tools:  select Gaussian Process Model
6               # Enter the input for x axis (1 - 7) :
5               # Enter the input for y axis (1 - 7), not 1 : 2
y               # Set other nominal values automatically ? (y or n)
1               # Enter output number (1 - 1) :
n               #  Ymin and Ymax found = 2.037723e-01 3.421112e-01. Set lower threshold ? (y or n) :
n               # Set upper threshold ? (y or n) : n
sys mv matlabrs2.m C1_R2_GPM10_rs2_x6x5.m    # Rename the response surface constructed
rs2
256             # Grid resolution ? (32 - 256)
10               # Available response surface tools:  select Gaussian Process Model
5               # Enter the input for x axis (1 - 7) :
3               # Enter the input for y axis (1 - 7), not 1 : 2
y               # Set other nominal values automatically ? (y or n)
1               # Enter output number (1 - 3) :
n               #  Ymin and Ymax found = 2.037723e-01 3.421112e-01. Set lower threshold ? (y or n) :
n               # Set upper threshold ? (y or n) : n
sys mv matlabrs2.m C1_R2_GPM10_rs2_x5x3.m    # Rename the response surface constructed
sys ls -alrt C1_R2_GPM*  # Check most one created after mv
q
