addOptimalsToPredicted()

This method is similar to addOptPointsToPredicted(), but adds the points returned by getOptimals() rather than accepting a list of IDs.

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.
  • rowIds: List of integers identifying which rows in the optimization process to add to the predicted data set.
  • addToFavorites: Optional Boolean specifying whether to add the newly added points to the favorites for in-depth comparison to other top designs.

Return Value

Dictionary describing the rows added to the dataset. The keys in this dictionary are the row IDs for the newly added rows. These IDs are not the same as the IDs the rows had in the optimization process.