doc / ch.tutteli.atrium.logic.creating.transformers / FeatureExtractorBuilder / OptionsStep / withOptions

withOptions

open fun withOptions(configuration: FeatureExpectOptionsChooser<R>.() -> Unit): FeatureExtractorBuilder.FinalStep<T, R> (source)

Allows to define the FeatureExpectOptions via an FeatureExpectOptionsChooser-lambda which provides convenience functions.

A convenience function usually starts with with... and is sometimes overloaded to ease the configuration.

abstract fun withOptions(expectOptions: FeatureExpectOptions<R>): FeatureExtractorBuilder.FinalStep<T, R> (source)

Uses the given expectOptions.