BatchFeaturesTypeTransform | R Documentation |
Supports feature transformations, including:
text to categorical
text to numeric
categorical to text
categorical to numeric
numeric to categorical
BatchFeaturesTypeTransform(
project,
parentNames,
variableType,
prefix = NULL,
suffix = NULL,
maxWait = 600
)
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. |
parentNames |
character. Character vector of variable names to be transformed. |
variableType |
character. The new type that the columns should be converted to.
See |
prefix |
character. Optional. The string to preface all the transformed features.
Either |
suffix |
character. Optional. The string that will be appended at the end to all
the transformed features. Either |
maxWait |
integer. Optional. The maximum amount of time (in seconds) to wait for DataRobot to finish processing the new column before providing a timeout error. |
a list of all the features, after transformation. See GetFeaturelist
for details.
## Not run:
projectId <- "59a5af20c80891534e3c2bde"
BatchFeaturesTypeTransform(projectId,
parentNames = c("var1", "var2"),
variableType = VariableTransformTypes$Categorical,
suffix = "_transformed")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.