Learn R Programming

datarobot (version 2.8.0)

GetWordCloud: Retrieve word cloud data for a model.

Description

Retrieve word cloud data for a model.

Usage

GetWordCloud(project, modelId, excludeStopWords = FALSE)

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.

modelId

Character string: unique alphanumeric identifier for the model of interest.

excludeStopWords

Logical (optional) : Set to True if you want stopwords filtered out the response.

Value

data.frame with the following components:

ngram

Character string: word or ngram value

coefficient

Numerical: value from [-1.0, 1.0] range, describes effect of this ngram on the target. A large negative value means a strong effect toward the negative class in classification projects and a smaller predicted target value in regression projects. A large positive value means a strong effect toward the positive class and a larger predicted target value respectively

count

Integer: number of rows in the training sample where this ngram appears

frequency

Numerical: value from (0.0, 1.0] range, frequency of this ngram relative to the most frequent ngram

isStopword

Logical: true for ngrams that DataRobot evaluates as stopwords

Examples

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

Run the code above in your browser using DataLab