Creating a Machine Learning Model Using Scikit-learn Elastic Net Regression

You can create a machine learning model using Scikit-learn Elastic Net Regression and modify the training options.

You can use the Machine Learning Models page to assess the quality of your models.


Before you begin: Use the NativeApps_3DEXP or SIMULIA_ComputeServices media to install Python and the machine learning packages required for the Scikit-learn Elastic Net approximation model. For more information, see Installation and Setup | Simulation | 3DOrchestrate Installation and Administration | 3DOrchestrate Installation and Administration | Installation Media for All Simulation Apps and Services.
See Also
About Machine Learning Models
The Scikit-learn Elastic Net Model
Understanding your Machine Learning Model
  1. From the top menu, click to add a new model.
    The Create dialog box appears.
  2. Select Scikit-learn Elastic Net Regression.
  3. From the Algorithm tab, enter a name for the model.
  4. Enter a value for Alpha.

    The Alpha parameter controls the degree of sparsity of the estimated coefficients. It removes any degeneracies and wild behavior caused by extreme correlations.

  5. Enter a value for the L1 Ratio between 0 and 1.

    The L1 Ratio combines the penalties of both the Lasso and the Ridge regularization methods. When the L1 Ratio is 0, the elastic net model reduces to the Ridge regression model; and when the L1 Ratio is 1, it becomes equivalent to the Lasso regression.

  6. From the Validation tab select a VALIDATION_TYPE from the following:
    OptionDescription
    K-Fold Cross Validation Divides data into K folds, trains on K-1 folds, tests on the remaining fold, and repeats K times to evaluate average performance.
    Leave One Out Cross Validation Uses all but one data point for training, tests on the remaining data point, and repeats for each data point to evaluate performance.
    SetAside Cross Validation Separates a portion of data for testing and trains on the remaining data, providing a single evaluation of performance.
    No Validation Does not use any separate validation set, leading to potential overfitting and biased performance evaluation.
    1. If you selected K-Fold Cross Validation, enter a value for the Random Seed and Number of Folds.
    2. If you selected Leave One Out Cross Validation, enter a value for the Random Seed and Validation Set Size.

      You can also set a unit for the Validation Set Size in points or in percentage.

    3. If you selected SetAside Cross Validation, enter a value for the Random Seed and Set aside size.

      You can also set a unit for the Set aside size in points or in percentage.

  7. From the Parameters tab, select input parameters to exclude from the generation of a specific approximation.

    These inputs will not be used in training and will not be displayed in the prediction profiler.

  8. From the Datasets tab, select datasources to exclude from approximation generation.
  9. Click Create to create the machine learning model.