Learn R Programming

datarobot (version 2.18.6)

summary.dataRobotModel: DataRobot S3 object methods for R's generic summary function

Description

These functions extend R's generic summary function to the DataRobot S3 object classes dataRobotModel, dataRobotProject, listOfBlueprints, listOfFeaturelists, listOfModels, and projectSummaryList.

Usage

# S3 method for dataRobotModel
summary(object, ...)

# S3 method for dataRobotProject summary(object, ...)

# S3 method for listOfBlueprints summary(object, nList = 6, ...)

# S3 method for listOfFeaturelists summary(object, nList = 6, ...)

# S3 method for listOfModels summary(object, nList = 6, ...)

# S3 method for projectSummaryList summary(object, nList = 6, ...)

Value

An object-specific summary: for objects of class dataRobotModel and dataRobotProject, this summary is a character vector giving key characteristics of the model or project, respectively; for the other object classes, the value is a two-element list where the first element is a brief summary character string and the second element is a more detailed dataframe with nList elements. The summary of object has the following components: modelType, expandedModel (constructed from modelType and processes), modelId, blueprintId, and projectId.

Arguments

object

The S3 object to be summarized.

...

list. Not currently used.

nList

integer. For the 'listOf' class objects, the first nList elements of the list are summarized in the dataframe in the second element of the list returned by the function.

Examples

Run this code
if (FALSE) {
  projectId <- "59a5af20c80891534e3c2bde"
  modelId <- "5996f820af07fc605e81ead4"
  model <- GetModel(projectId, modelId)
  summary(model)
}
if (FALSE) {
  projectId <- "59a5af20c80891534e3c2bde"
  project <- GetProject(projectId)
  summary(project)
}
if (FALSE) {
  projectId <- "59a5af20c80891534e3c2bde"
  blueprints <- ListBlueprints(projectId)
  summary(blueprints)
}
if (FALSE) {
  projectId <- "59a5af20c80891534e3c2bde"
  featureList <- CreateFeaturelist(projectId, "myFeaturelist", c("feature1", "feature2"))
  summary(featureList)
}
if (FALSE) {
  projectId <- "59a5af20c80891534e3c2bde"
  models <- ListModels(projectId)
  summary(models)
}
if (FALSE) {
  projectSummary <- ListProjects()
  summary(projectSummary)
}

Run the code above in your browser using DataLab