-
Expand the activity that contains the flow adapter.
-
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.
-
Double-click Approximation Trainer
.
The Approximation Trainer Editor appears.
-
Click the Configure Training
tab.
-
Enter a descriptive Approximation Object Name.
-
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.
-
From the Training Mode options, select one of the
following:
| Option | Description |
|---|
| 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.
|
-
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.
-
Click Add Configuration.
-
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.
-
From the Validation
tab,
configure the Validation Type and hyperparameters.
-
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.
-
Click OK.
The new configuration is created.
-
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.