Creating a Machine Learning Model Using RSM

You can create an machine learning model using Response Surface Method and tune the training options. You can use the Machine Learning Models page to assess the quality of your models.

See Also
About Machine Learning Models
The Response Surface Model
  1. From the top menu, click to add a new model.
    The Create dialog box appears.
  2. Select Response Surface Model.
  3. From the Algorithm tab, enter a name for the model.
  4. Enter a value for the Polynomial Order of the Response Surface Method model (1 ≤ value ≤ 10).

    Enter 1 if you know that there is a linear relationship between the inputs and the outputs of the approximation. A value of 2 is recommended for most cases and provides the best performance to cost ratio and the best optimization performance for smooth exact functions. Alternatively, you can enter the maximum value of 10 and allow Results Analytics to eliminate unnecessary terms.

    Check the measure of fit information for signs that the approximation is overfitting the data—the cross validation percent errors are much higher than the residual percent errors. If the approximation is overfitting, recalculate the approximation with lower-order polynomials.

  5. Enter a value for the F-ratio to Add Term, the minimum value of the F-ratio to add a new polynomial term to the approximation model ( F e n t e r ).
  6. Enter a value for the F-ratio to Drop Term, the maximum value of the F-ratio to drop a polynomial term from the approximation model ( F d e l e t e ).
  7. Enter the maximum number of data points used during the calculation of the approximation.

    By default, Results Analytics calculates the approximation using a maximum of 2000 data points. The accuracy of the approximation increases with more data points; however, the length of time required for Results Analytics to fit the approximation also increases. You must experiment with the number of points to find a balance between accuracy and speed.

    If your data set contains more data points than the maximum specified, Results Analytics searches through the entire data set and selects points randomly to include in the approximation.

  8. 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.

  9. 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.

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