interface FinalStep<T, R>
(source)
Final step in the extract-feature-process, creates a ExtractedFeaturePostStep based on the previously specified options.
T
- the type of the current subject.
R
- the type of the feature, aka the new subject.
abstract val featureExtraction: (T) -> Option<R>
The previously specified feature extraction lambda. |
|
abstract val featureExtractionStep: FeatureExtractorBuilder.FeatureExtractionStep<T>
The so far chosen options up to the FeatureExtractionStep step. |
|
abstract val featureOptions: FeatureOptions<R>?
Either the previously specified FeatureOptions or |
abstract fun build(): ExtractedFeaturePostStep<T, R>
Finishes the |
fun <T, R> create(featureExtractionStep: FeatureExtractorBuilder.FeatureExtractionStep<T>, featureExtraction: (T) -> Option<R>, featureOptions: FeatureOptions<R>?): FeatureExtractorBuilder.FinalStep<T, R>
Creates the FinalStep in the context of the FeatureExtractorBuilder. |