doc / ch.tutteli.atrium.domain.builders.creating.changers / FeatureExtractorBuilder / OptionsChooser / withRepresentation

withRepresentation

open fun withRepresentation(representation: Any): Unit

Uses the given representation as representation of the subject in case the is defined instead of the so far defined representation (which defaults to the subject as such).

Notice, if you want to use text (e.g. a String) as representation, then use withTextRepresentation instead.