Training an Approximation with a Simulation Job

You can train an approximation using parameters from an existing simulation job, DOE adapter, or Monte Carlo Simulation adapter.


Before you begin:
  • Run a simulation process with a DOE adapter or an Optimization adapter.
  • If you want to use the Latent Variable Gaussian Process (LVGP) approximation technique, the XGBoost approximation technique, or any of the Scikit-learn approximation techniques, use the NativeApps_3DEXP or SIMULIA_ComputeServices media to install additional exploration packages for Python and machine learning.
    Note: You only need the additional exploration packages to train the models; you do not need them to evaluate the approximation models once you save the models to the 3DEXPERIENCE platform.
    For more information, see Installation Media for All Simulation Apps and Services.
  • You can install the additional exploration packages only on an on-premises 3DOrchestrate Stations. The packages are not available on 3DOrchestrate Stations running on the cloud.
See Also
About Approximation Trainer Adapter
Approximation Adapter
  1. From the Design Exploration section of the action bar, click Approximation Trainer and drop it on the process diagram.
  2. Double-click Approximation Trainer .
    The Approximation Trainer Editor appears.
  3. Click the Select Jobs tab and do either of the following to select the simulation job on which to train your approximation:
    • Select Content, and select the job on which to train your approximation.
    • Select Parameter, and choose an object parameter representing the simulation job or create a new simulation job object parameter.

    You can review the input and output parameters for the job in the table.

    The RSM, RBF, Universal Kriging, Scikit-learn, and XGBoost models are available when all input parameters are numerical. If the input parameters contain one or more string parameters, the Latent Variable Gaussian Process (LVGP) model is the only available approximation technique.

  4. Click the Configure Training tab.
  5. Enter a descriptive Approximation Object Name.
  6. Enter the name of an Object Parameter that will contain the approximation object and allow it to be referenced by the simulation process.

    This object parameter is created when the adapter runs.

  7. From the Training Mode options, select one of the following:
    OptionDescription
    Create a new Approximation Object with only the latest data

    Trains a new approximation model with data from the selected simulation job and uploads it to 3DSpace as a new approximation object with the Approximation Object Name you entered earlier.

    Create a new version of the Approximation Object with all data

    Retrains the approximation model from the supplied approximation object parameter with the data from the current run of the simulation job. Creates a new revision of the approximation object and uploads the model to this object.

    Update the existing Approximation Object with all data

    Retrains the model from the supplied approximation object parameter with the data from the current run of the simulation job and updates the approximation object with the new model data.

  8. Add a new configuration:

    Training an approximation requires the definition of at least one configuration. A configuration specifies an algorithm type, algorithm hyperparameters, validation type, and validation hyperparameters for a specified set of output parameters. Each output parameter can be included in only one configuration, and each configuration must include at least one output parameter.

    1. Click Add Configuration.
    2. From the Algorithm tab, configure the Approximation Type, along with any hyperparameters relevant to that type, such as a polynomial order for a Response Surface Model approximation.
    3. From the Validation tab, configure the Validation Type and hyperparameters.
    4. From the Outputs tab, select one or more output parameters to assign them to the configuration. If all parameters assigned to a configuration are reassigned to other configurations, the empty configuration is deleted.
    5. Click OK.
      The new configuration is created.
  9. Click OK.

Result: The Approximation Trainer adapter creates an approximation object when it runs. You can use the approximation object to predict output parameters with the Approximation adapter.