Package org.tribuo.data.columnar.extractors
package org.tribuo.data.columnar.extractors
Provides implementations of
FieldExtractor
.
The FieldExtractor.getMetadataName()
values of "name" Example.NAME
and "weight" (case-sensitive) are special. In particular, "name" is used throughout the Example
environment to uniquely identify Examples within a Dataset
. "weight" should only
be used for the FieldExtractor
supplied to RowProcessor
as the weightExtractor
which is used by the system to weight Example
s.
-
ClassDescriptionExtracts the field value and translates it to a
LocalDate
based on the specifiedDateTimeFormatter
.Extracts the field value and converts it to a double.Extracts the field value and converts it to a float.Extracts the field value and emits it as a String.An Extractor with special casing for loading the index from a Row.Extracts the field value and converts it to a int.Extracts the field value and translates it to anOffsetDateTime
based on the specifiedDateTimeFormatter
.Extracts a value from a single field to be placed in anExample
's metadata field.