if (FALSE) {
dataset_dbpedia()
# Custom directory
dataset_dbpedia(dir = "data/")
# Deleting dataset
dataset_dbpedia(delete = TRUE)
# Returning filepath of data
dataset_dbpedia(return_path = TRUE)
# Access both training and testing dataset
train <- dataset_dbpedia(split = "train")
test <- dataset_dbpedia(split = "test")
}
Run the code above in your browser using DataLab