Learn R Programming

datarobot (version 2.8.0)

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, file,
  ratingTableName = "Uploaded Rating Table")

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.

file

character. The filename containing the rating table CSV to upload.

ratingTableName

character. Optional. The name of the rating table.

Value

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

Examples

Run this code
# NOT RUN {
   projectId <- "5984b4d7100d2b31c1166529"
   modelId <- "5984b4d7100d2b31c1166529"
   CreateRatingTable(projectId, modelId, file = "myRatingTable.csv")
# }

Run the code above in your browser using DataLab