Sets the description of the model.

dai.set_model_desc(model, description)

Arguments

model

DAIModel.

description

Length-1 character vector.

Value

The updated model (invisibly).

Examples

dai.connect(uri = 'http://127.0.0.1:12345', username = 'h2oai', password = 'h2oai')
iris_dai <- as.DAIFrame(iris, progress = FALSE)
model <- dai.train(training_frame = iris_dai,
                   target_col = 'Species',
                   is_classification = TRUE,
                   is_timeseries = FALSE,
                   time = 1, accuracy = 1, interpretability = 10,
                   progress = FALSE)
print(model$description)
model <- dai.set_model_desc(model, 'foo bar')
print(model$description)