Learn R Programming

datarobot (version 2.18.6)

CreateRatingTable: Creates and validates a new rating table from an uploaded CSV.

Description

Creates and validates a new rating table from an uploaded CSV.

Usage

CreateRatingTable(
  project,
  parentModelId,
  dataSource,
  ratingTableName = "Uploaded Rating Table"
)

Value

An integer value that can be used as the JobId parameter in subsequent calls representing this job.

Arguments

project

character. Either (1) a character string giving the unique alphanumeric identifier for the project, or (2) a list containing the element projectId with this identifier.

parentModelId

integer. The id of the model to validate the rating table against.

dataSource

object. Either (a) the name of a CSV file, or (b) a dataframe. This parameter identifies the source of the rating table.

ratingTableName

character. Optional. The name of the rating table.

Examples

Run this code
if (FALSE) {
   projectId <- "5984b4d7100d2b31c1166529"
   modelId <- "5984b4d7100d2b31c1166529"
   CreateRatingTable(projectId, modelId, dataSource = "myRatingTable.csv")
}

Run the code above in your browser using DataLab