Learn R Programming

datarobot (version 2.16.0)

GetModelCapabilities: Get supported capabilities for a model, e.g., whether it has a word cloud.

Description

Get supported capabilities for a model, e.g., whether it has a word cloud.

Usage

GetModelCapabilities(model)

Arguments

model

An S3 object of class dataRobotModel like that returned by the function GetModel, or each element of the list returned by the function ListModels.

Value

Returns

  • supportsBlending logical. Whether or not the model supports blending. See RequestBlender.

  • supportsMonotonicConstraints logical. Whether or not the model supports monotonic constraints. See RequestModel

  • hasWordCloud logical. Whether or not the model has a word cloud. See GetWordCloud.

  • eligibleForPrime logical. Whether or not the model is eligible for Prime. See CreatePrimeCode.

  • hasParameters logical. Whether or not the model has parameters. See GetModelParameters.

Examples

Run this code
# NOT RUN {
  projectId <- "59a5af20c80891534e3c2bde"
  modelId <- "5996f820af07fc605e81ead4"
  model <- GetModel(projectId, modelId)
  GetModelCapabilities(model)
# }

Run the code above in your browser using DataLab