data_driven

pymor-demo data_driven [OPTIONS] REGRESSOR GRID_INTERVALS TRAINING_SAMPLES

Model order reduction with machine learning methods (approach by Hesthaven and Ubbiali).

Arguments:

REGRESSOR

Regressor to use. Options are neural networks using PyTorch, pyMOR’s VKOGA algorithm or Gaussian process regression using scikit-learn. [Required, Choices: fcnn, vkoga, gpr]

GRID_INTERVALS

Grid interval count. [Required]

TRAINING_SAMPLES

Number of samples used for computing the reduced basis and training the regressor. [Required]

Parameters:

--fv, --no-fv

Use finite volume discretization instead of finite elements. [Default: False]

--vis, --no-vis

Visualize full order solution and reduced solution for a test set. [Default: False]

--validation-ratio

Ratio of training data used for validation of the neural networks. [Default: 0.1]

--input-scaling, --no-input-scaling

Scale the input of the regressor (i.e. the parameter). [Default: False]

--output-scaling, --no-output-scaling

Scale the output of the regressor (i.e. reduced coefficients or output quantity. [Default: False]