class OptionsStepImpl<T, R> : FeatureExtractorBuilder.OptionsStep<T, R>
OptionsStepImpl(featureExtractionStep: FeatureExtractorBuilder.FeatureExtractionStep<T>, featureExtraction: (T) -> Option<R>) |
val featureExtraction: (T) -> Option<R>
The previously specified feature extraction lambda. |
|
val featureExtractionStep: FeatureExtractorBuilder.FeatureExtractionStep<T>
The so far chosen options up to the FeatureExtractionStep step. |
fun withOptions(expectOptions: FeatureOptions<R>): FeatureExtractorBuilder.FinalStep<T, R>
Uses the given expectOptions. |
|
fun withoutOptions(): FeatureExtractorBuilder.FinalStep<T, R>
States explicitly that no optional FeatureOptions are defined, which means, |
open fun withOptions(configuration: FeatureExtractorBuilder.OptionsChooser<R>.() -> Unit): FeatureExtractorBuilder.FinalStep<T, R>
Allows to define the FeatureOptions via an OptionsChooser-lambda which provides convenience functions. |