td_describe_model
Description
Function to display details of the model from the Model Catalog, if the model is accessible to the user.
Usage
td_describe_model(name)
Arguments
name |
Required Argument. |
Examples
# Get remote data source connection.
con <- td_get_context()$connection
# Load example data.
loadExampleData("glm_example", "admissions_train")
# Create object of class "tbl_teradata" to use as input.
admissions_train <- tbl(con, "admissions_train")
# Create the GLM model.
td_glm_out1 <- td_glm_mle(formula = (admitted ~ stats + masters + gpa + programming),
family = "LOGISTIC",
linkfunction = "LOGIT",
data = admissions_train,
weights = "1",
threshold = 0.01,
maxit = 25,
step = FALSE,
intercept = TRUE
)
# Save this generated model.
td_save_model(model = td_glm_out1, name = "glm_model", description = "GLM test")
# List all details of recently saved model "glm_model".
td_describe_model("glm_model")