doc / ch.tutteli.atrium.logic.creating.transformers.impl.featureextractor / FinalStepImpl

FinalStepImpl

class FinalStepImpl<T, R> : FeatureExtractorBuilder.FinalStep<T, R> (source)

Constructors

<init>

FinalStepImpl(featureExtractionStep: FeatureExtractorBuilder.FeatureExtractionStep<T>, featureExtraction: (T) -> Option<R>, featureExpectOptions: FeatureExpectOptions<R>)

Properties

featureExpectOptions

val featureExpectOptions: FeatureExpectOptions<R>

Either the previously specified FeatureExpectOptions or null.

featureExtraction

val featureExtraction: (T) -> Option<R>

The previously specified feature extraction lambda.

featureExtractionStep

val featureExtractionStep: FeatureExtractorBuilder.FeatureExtractionStep<T>

The so far chosen options up to the FeatureExtractionStep step.

Functions

build

fun build(): FeatureExtractorBuilder.ExecutionStep<T, R>

Finishes the help-me-to-call-FeatureExtractor-process by creating an ExecutionStep incorporating all previously chosen options.