Learn R Programming

datarobot (version 2.18.6)

ToggleStarForModel: Star a model if it is unstarred, otherwise unstar the model.

Description

Star a model if it is unstarred, otherwise unstar the model.

Usage

ToggleStarForModel(model)

Value

the model object, but now starred if unstarred or unstarred if starred.

Arguments

model

character. The model for which you want to compute Feature Impact, e.g. from the list of models returned by ListModels(project).

Examples

Run this code
if (FALSE) {
  projectId <- "59a5af20c80891534e3c2bde"
  modelId <- "5996f820af07fc605e81ead4"
  model <- GetModel(projectId, modelId)
  ToggleStarForModel(model)
}

Run the code above in your browser using DataLab