result_name: get/set output name as prediction output for a model

Description Usage Arguments Value Examples

Description

get/set the prediction output for a model_ This determines which outputs from this model are supplied as inputs to the next model when used in a model_seq

Usage

1
2
3

Arguments

M

an iterator object

I

an iterator object

value

name of an output for iterator M

Value

result_name(M)

returns the name of the output for this iterator (equivalent to predicted for model objects)

result_name(I)<-

sets the default output for an iterator

Examples

1
2
3
I = example_iterator() # initialise iterator
result_name(I)
result_name(I) = 'result_1'

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