wait-Collection-method: Block until the collection's model is completed training

Description Usage Arguments Value Examples

Description

Block until the collection's model is completed training

Usage

1
2
3
## S4 method for signature 'Collection'
wait(collection_object, interval = 1, timeout = 60,
  version = NULL, ...)

Arguments

interval

how reguarly to check if the model is done training

timeout

max time to wait before erroring

version

for api version

...

additional arguments to passed to request

collection

the collection object for this model

collection

the collection object for this model

api_key

your personal indico API key

cloud

subdomain for indico private cloud

Value

List with available collections

Examples

1
2
3
4
5
6
7
collection <- Collection(name='example')
test_data <- list(list("I love my friends!", "extrovert"),
                  list("I love to be alone", "introvert"),
                  list("I have mixed feelings on people", "ambivert"))
addData(collection, test_data)
train(collection)
wait(collection)

IndicoDataSolutions/IndicoIo-R documentation built on May 7, 2019, 6:37 a.m.