Learn R Programming

bigml (version 0.1.2)

quickDataset: Quickly Creating BigML Datasets

Description

Quickly Creating BigML Datasets

Usage

quickDataset(data, fields = names(data), name = paste(deparse(substitute(data)), "'s dataset", sep = ""), size = NULL, ...)

Arguments

data
A matrix or data frame containing data to upload to bigml.
fields
A vector of names in data that should be used for creating the dataset.
name
A string giving the name for the dataset.
size
A numeric value giving the amount (in bytes) of the source to use.
...
Arbitrary named arguments that are passed on to formEncodeURL in order to create form-encoded URL options.

Value

category
numeric
code
numeric
content_type
character
created
character
credits
numeric
description
character
fields
data.frame (or list if flatten=FALSE)
file_name
character
md5
character
name
character
number_of_datasets
numeric
number_of_models
numeric
number_of_predictions
numeric
private
logical
resource
character
size
numeric
source_parser
list
status
list
tags
AsIs
type
numeric
updated
character

Details

quickDataset will take its "data" dataframe argument and attempt to create an equivalent BigML dataset using quickSource. R "numeric" class fields will become "numeric" fields in the BigML dataset. R "character" class fields become "text" fields. R "factor" fields become "categorical" fields. However, if there are too many factors, BigML may convert the field to text. It is possible to specify the fields to include using the fields argument. This can be a a simple list of names that were present in the data argument. See references for more details.

References

https://bigml.com/developers/datasets

See Also

Other dataset methods: createDataset; getDataset; listDatasets

Other quick methods: quickModel; quickPrediction; quickSource

Examples

Run this code
## Not run: 
# # simple example
# iris.d = quickDataset(iris)
# # configure a number of different parameters
# iris.d2 = quickDataset(iris, fields = c('Species', 'Sepal.length'),
# 	name='test', size=10000)
# ## End(Not run)

Run the code above in your browser using DataLab