getOptimizationRuns()

This method returns some or all runs for an optimization specified by a corresponding model ID.

By default, this method returns all runs. Specifying onlyImprovements=True returns only runs with an equal or lesser objective + penalty value than the previous lowest value for the optimization process. If you supply an array of parameter IDs for the paramIdList argument, the method returns only data columns corresponding to those parameters.

This page discusses:

Arguments

  • modelId: String identifying a machine learning model.

    You can obtain this ID using the select() and next() methods in the ML API, among others.

  • onlyimprovements: Optional Boolean value indicating whether the return data should include improvements only.

    Default value is False, which returns all rows.

  • paramIdList: Optional list of parameter ID strings corresponding to a subset of the output parameters for the optimization process.

    If you supply this list, the return data includes only columns corresponding to the specified parameters.

    Default value is None, which returns all columns.

Return Value

  • GLYPH: List of strings showing the glyph-type for each row.
  • OBJECTIVE_AND_PENALTY: List of doubles containing the raw objective + penalty value for each row.

    The optimization process aims to minimize this value.

  • ID: Integer ID values defined for each row.

    You can use these values in the addOptPointsToPredicted() method to add specific rows to a predicted data set for comparison and exploration.

  • GRADING: Grade (for example, pareto, dominated, infeasible) assigned to each row.
  • IMPROVEMENT_RUN_COUNT: Number of designs with scores equal to or better than the previous best point.
  • IMPROVEMENT_RUN_COUNT: Number of designs with scores equal to or better than the previous best point.
  • List of per-row values for each parameter, keyed to the ID of the parameter.

    If you provide a list of parameter IDs using paramIdList, the method filters the returned parameter value lists accordingly.