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

View source: R/StarredModels.R

ToggleStarForModelR 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)

datarobot documentation built on May 29, 2024, 4:36 a.m.