ToggleStarForModel {datarobot}R Documentation

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)

Arguments

model

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

Value

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

Examples

## Not run: 
  projectId <- "59a5af20c80891534e3c2bde"
  modelId <- "5996f820af07fc605e81ead4"
  model <- GetModel(projectId, modelId)
  ToggleStarForModel(model)

## End(Not run)

[Package datarobot version 2.18.6 Index]