.. _rom: Train ROM ========= Train reduced order models (ROM) or machine learning models based on experiment data, or mixed experiment data and simulation data. Train Gaussian Process Model ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ In this analysis, set ``train_rom``. For example, The following input will utilize data provided by ```` node to train Gaussian Process Model. After training, the inputs of the Gaussian Process Model will be sampled via Latin Hypercube Sampling algorithm with their associated distributions, and the number of samples is equal to ```` value. .. code:: xml GP 1 train_rom ../LHS/sampling_dump.csv 10 x, y z1 -10 0 -6.5 0 Train Dynamic Gaussian Process Model ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ When a dynamic model is provided, the users need to set ```` and ```` node in the ````. As illustrated in the following example. In addition, set ``train_rom``. For example, The following input will utilize data provided by ```` node to train Gaussian Process Model. After training, the inputs of the Gaussian Process Model will be sampled via Latin Hypercube Sampling algorithm with their associated distributions, and the number of samples is equal to ```` value. .. code:: xml GP_dynamic 1 train_rom ../LHS/sampling_dynamic_dump.csv 10 x0, y0, z0 time True x,y,z 4 1 4 1 4 1 inputGroup outputGroup Train Gaussian Polynomial Chaos Model with Sparse Grid ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ In this analysis, set ``sparse_grid_rom``. For example, The following input will utilize data provided by ```` node to train Gaussian Polynomial Chaos Model. After training, the inputs of the Gaussian Process Model will be sampled via Monte Carlo Sampling algorithm with their associated distributions, and the number of samples is equal to ```` value. .. code:: xml sparse_grid_rom x, y z1 2 10 dump_SparseGrid.csv -10 10 -10 10 x, y z1 For this ROM, the users can also set the highest order of the Gaussian Polynomial Chaos expansions. Just set ```` in ````. Train Dynamic Gaussian Polynomial Chaos Model with Sparse Grid ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ When a dynamic model is provided, the users need to set ```` and ```` node in the ````. As illustrated in the following example. In this analysis, set ``sparse_grid_rom``. For example, The following input will utilize data provided by ```` node to train Gaussian Polynomial Chaos Model. After training, the inputs of the Gaussian Process Model will be sampled via Monte Carlo Sampling algorithm with their associated distributions, and the number of samples is equal to ```` value. .. code:: xml SparseGridDynamic 1 sparse_grid_rom x0, y0, z0 time True x,y,z 2 10 ../SparseGrid/SparseGrid_dynamic_dump.csv 4 1 4 1 4 1 inputGroup outputGroup For this ROM, the users can also set the highest order of the Gaussian Polynomial Chaos expansions. Just set ```` in ````.