quickDataset: Quickly Creating BigML Datasets

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

Quickly Creating BigML Datasets

Usage

1
2
3
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.

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.

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

Author(s)

Leon Hwang hwang@bigml.com

References

https://bigml.com/developers/datasets

See Also

Other dataset methods: createDataset; getDataset; listDatasets

Other quick methods: quickModel; quickPrediction; quickSource

Examples

1
2
3
4
5
6
7
8
## 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)

bigml documentation built on May 2, 2019, 2:06 a.m.