FeatureExtractionStepImpl
class FeatureExtractionStepImpl<SubjectT>(val container: AssertionContainer<SubjectT>, val description: Translatable, val representationForFailure: Any) : FeatureExtractorBuilder.FeatureExtractionStep<SubjectT> (source)
Constructors
Link copied to clipboard
constructor(container: AssertionContainer<SubjectT>, description: Translatable, representationForFailure: Any)
Properties
Link copied to clipboard
The previously specified assertion container from which we are going to extract the feature.
Link copied to clipboard
The previously specified description which describes the kind of feature extraction.
Link copied to clipboard
The previously specified representation which will be used in case the feature cannot be extracted.
Functions
Link copied to clipboard
open override fun <FeatureT> withFeatureExtraction(extraction: (SubjectT) -> Option<FeatureT>): FeatureExtractorBuilder.OptionsStep<SubjectT, FeatureT>
Defines the feature extraction as such which is most likely based on the current subject (but does not need to be).