interface OptionsStep<T, R> (source)
Step which allows to override previously defined properties -- such as use a different description -- but also allows to define options where usually a default value is used, such as use the subject itself as representation.
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.  | 
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. abstract fun withOptions(expectOptions: FeatureOptions<R>): FeatureExtractorBuilder.FinalStep<T, R>
Uses the given expectOptions.  | 
|
abstract fun withoutOptions(): FeatureExtractorBuilder.FinalStep<T, R>
States explicitly that no optional FeatureOptions are defined, which means,   | 
fun <T, R> create(featureExtractionStep: FeatureExtractorBuilder.FeatureExtractionStep<T>, featureExtraction: (T) -> Option<R>): FeatureExtractorBuilder.OptionsStep<T, R> |