Creates a dataset from a file located at the Driverless AI host machine. See supported file formats.

dai.create_dataset(path, progress = getOption("dai.progress", TRUE))

Arguments

path

Path to the file at the Driverless AI host machine.

progress

Whether to display a progress bar.

See also

dai.upload_dataset

Examples

# NOT RUN {
dai.connect(uri = 'http://127.0.0.1:12345', username = 'h2oai', password = 'h2oai')
# }# NOT RUN {
path_to_data_on_server <- dai:::find_file('smalldata/kaggle/CreditCard/creditcard_train_cat.csv')
# }# NOT RUN {
data <- dai.create_dataset(path_to_data_on_server, progress = FALSE)
# }# NOT RUN {
dai.rm(data)
# }