Learn R Programming

bigml (version 0.1.2)

createModel: Creating BigML Models

Description

Creating BigML Models

Usage

createModel(dataset_id, input_field_ids = NULL, name = NULL, objective_field_ids = NULL, range = NULL, ...)

Arguments

dataset_id
the relevant dataset_id used to create the model.
input_field_ids
a vector of field ids to use for training.
name
the name to give to the model.
objective_field_ids
a vector of objective fields used for training.
range
a vector of two values that define a range of instances from the dataset to train on.
...
Arbitrary named arguments that are passed on to formEncodeURL in order to create form-encoded URL options.

Value

model_return

Details

This function needs to use id information from existing R resources. See the references for more details.

References

https://bigml.com/developers/models

https://bigml.com/developers/datasets

See Also

Other model methods: getModel; listModels; quickModel

Examples

Run this code
## Not run: 
# # simple example
# m1 = createModel("dataset/1")
# # configure a number of different parameters
# m2 = createModel("dataset/2", input_field_ids=c('000001'),
# 	objective_field_ids='000003', name='test', range = c(10,1000))
# ## End(Not run)

Run the code above in your browser using DataLab