result: Iterator result

Description Usage Arguments Value Examples

Description

Returns the results of an iterator. This is used to control model flow in a similar way to predict for model and model_seq objects.

Usage

1
result(M)

Arguments

M

an iterator object

Value

the returned output varies with the algorithm implemented

Examples

1
2
3
4
5
6
D = iris_DatasetExperiment() # get some data
MET = metric()  # use a metric
I = example_iterator() # initialise iterator
models(I) = example_model() # set the model
I = run(I,D,MET) # run
result(I)

struct documentation built on Nov. 8, 2020, 8:14 p.m.