result {struct} | R Documentation

## Iterator result

### 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

    result(M)

### Arguments

`M` | an iterator object

### Value

the returned output varies with the algorithm implemented

### Examples

    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)

[Package struct version 1.2.0 Index]