data_driven_fenics

pymor-demo data_driven_fenics [OPTIONS] REGRESSOR 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]

TRAINING_SAMPLES

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

Parameters:

--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]