Training an Approximation with Flow Adapter Factors

You can train an approximation using parameters from a DOE adapter or Monte Carlo Simulation adapter.


Before you begin: Do the following:
  • Configure either the DOE adapter or the Monte Carlo Simulation adapter. For more information, see Configuring the DOE Adapter or Configuring a Monte Carlo Simulation.
  • 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: The additional exploration packages are required only to train the models; they are not needed 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. Expand the activity that contains the flow adapter.
  2. From the Design Exploration section of the action bar, click Approximation Trainer and drop it to the right of the flow adapter in the same activity.
  3. Double-click Approximation Trainer .
    The Approximation Trainer Editor appears.
  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.

    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.

    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. If you are using factors from a flow adapter as parameters, they will appear here.
    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.