info-Collection-method: Return the current state of the model associated with a given...

Description Usage Arguments Value Examples

Description

Return the current state of the model associated with a given collection

Usage

1
2
## S4 method for signature 'Collection'
info(collection_object, version = NULL, ...)

Arguments

version

for api version

...

additional arguments to passed to request

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
collection <- Collection(name='example')
status = info(collection)
cat(sprintf("This collection is a %s model trained on %s data with %i examples",
            status[["model_type"]],
            status[["input_type"]],
            status[["number_of_examples"]]))

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