dai.rm.Rd
Deletes Driverless AI objects (frames or models) from the Driverless AI server and (optionally) also from the calling R session environment. Instances of other classes are silently ignored.
dai.rm(..., env = rlang::caller_env(), from_session = TRUE, quiet = FALSE)
... | Objects representing Driverless AI frames or models to remove. |
---|---|
env | Environment to use. |
from_session | Whether to remove the object also from the environment. |
quiet | Whether the information about the removed objects should not be printed. |
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, progress = FALSE) dai.rm(iris_dai, model)