package value
Type Members
-
abstract
class
AbstractFeatureFormatMapper[T] extends FeatureFormatMapper[T]
Abstract base class for FeatureFormatMapper.
Abstract base class for FeatureFormatMapper. Breaks down conversion behavior based on the various feature types.
-
class
BooleanFeatureValue extends FeatureValue
A specific FeatureValue class for BOOLEAN features.
A specific FeatureValue class for BOOLEAN features. Underlying representation is a boolean primitive type.
-
class
CategoricalFeatureValue extends FeatureValue
A specific FeatureValue class for CATEGORICAL features.
A specific FeatureValue class for CATEGORICAL features. Underlying representation is a String.
-
class
CategoricalSetFeatureValue extends FeatureValue
A specific FeatureValue class for CATEGORICAL_SET features.
A specific FeatureValue class for CATEGORICAL_SET features. Underlying representation is a Set of String.
-
class
DenseVectorFeatureValue extends FeatureValue
A specific FeatureValue class for DENSE_VECTOR features.
A specific FeatureValue class for DENSE_VECTOR features. Underlying representation is an array of float.
-
trait
FeatureFormatMapper[T] extends AnyRef
A mapper, or translator, that can convert between the standard FeatureValue representation and some other external representation.
-
trait
FeatureValue extends AnyRef
Represents a value of a feature in Feathr.
-
class
FeatureValues extends AnyRef
Utility functions for constructing FeatureValue instances.
Utility functions for constructing FeatureValue instances.
User code that produces FeatureValues, such as Anchor extractors (in yet-to-come new Anchor extractor API), should prefer to use these when creating FeatureValues, when possible.
-
class
NTVFeatureFormatMapper extends AbstractFeatureFormatMapper[Map[String, Float]]
A FeatureFormatMapper that converts in and out of NTV representation, using Feathr's legacy rules for representing types like NUMERIC, BOOLEAN, and DENSE_VECTOR as term vectors.
-
class
NumericFeatureValue extends FeatureValue
A specific FeatureValue class for NUMERIC features.
A specific FeatureValue class for NUMERIC features. Underlying representation is a float primitive value.
-
class
QuinceFeatureFormatMapper extends AbstractFeatureFormatMapper[TensorData]
A FeatureFormatMapper that can represent any FeatureValue as a Quince TensorData.
-
class
QuinceFeatureTypeMapper extends AnyRef
A mapper, or translator, that provides a Quince TensorType for a given FeatureType.
A mapper, or translator, that provides a Quince TensorType for a given FeatureType.
This class is guaranteed to conform to sister class
com.linkedin.feathr.common.value.QuinceFeatureFormatMappersuch that for any FeatureType-TensorType mapping provided by this class, any FeatureValue having that FeatureType would be converted to a TensorData conforming to that TensorType. -
class
TensorFeatureValue extends FeatureValue
A FeatureValue that contains an arbitrary tensor.
-
class
TermVectorFeatureValue extends FeatureValue
A specific FeatureValue class for TERM_VECTOR features.
A specific FeatureValue class for TERM_VECTOR features. Underlying representation is a Map of String to Float.