Packages

c

com.linkedin.feathr.common.value

NTVFeatureFormatMapper

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.

Linear Supertypes
AbstractFeatureFormatMapper[Map[String, Float]], FeatureFormatMapper[Map[String, Float]], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NTVFeatureFormatMapper
  2. AbstractFeatureFormatMapper
  3. FeatureFormatMapper
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def cannotConvertToFeatureValue(featureType: FeatureType, externalValue: Map[String, Float]): RuntimeException
    Attributes
    protected[value]
    Definition Classes
    AbstractFeatureFormatMapper
  6. def cannotConvertToFeatureValue(featureType: FeatureType, externalValue: Map[String, Float], cause: Exception): RuntimeException
    Attributes
    protected[value]
    Definition Classes
    AbstractFeatureFormatMapper
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def fromBooleanFeatureValue(featureValue: BooleanFeatureValue): Map[String, Float]
    Attributes
    protected[value]
    Definition Classes
    NTVFeatureFormatMapper → AbstractFeatureFormatMapper
    Annotations
    @Override()
  12. def fromCategoricalFeatureValue(featureValue: CategoricalFeatureValue): Map[String, Float]
    Attributes
    protected[value]
    Definition Classes
    NTVFeatureFormatMapper → AbstractFeatureFormatMapper
    Annotations
    @Override()
  13. def fromCategoricalSetFeatureValue(featureValue: CategoricalSetFeatureValue): Map[String, Float]
    Attributes
    protected[value]
    Definition Classes
    NTVFeatureFormatMapper → AbstractFeatureFormatMapper
    Annotations
    @Override()
  14. def fromDenseVectorFeatureValue(featureValue: DenseVectorFeatureValue): Map[String, Float]
    Attributes
    protected[value]
    Definition Classes
    NTVFeatureFormatMapper → AbstractFeatureFormatMapper
    Annotations
    @Override()
  15. def fromFeatureValue(featureValue: FeatureValue): Map[String, Float]

    Converts a feature value into the external representation

    Converts a feature value into the external representation

    featureValue

    the FeatureValue

    returns

    the datum in the external representation

    Definition Classes
    AbstractFeatureFormatMapper → FeatureFormatMapper
    Annotations
    @Override()
  16. def fromNumericFeatureValue(featureValue: NumericFeatureValue): Map[String, Float]
    Attributes
    protected[value]
    Definition Classes
    NTVFeatureFormatMapper → AbstractFeatureFormatMapper
    Annotations
    @Override()
  17. def fromTensorFeatureValue(featureValue: TensorFeatureValue): Map[String, Float]
    Attributes
    protected[value]
    Definition Classes
    NTVFeatureFormatMapper → AbstractFeatureFormatMapper
    Annotations
    @Override()
  18. def fromTermVectorFeatureValue(featureValue: TermVectorFeatureValue): Map[String, Float]
    Attributes
    protected[value]
    Definition Classes
    NTVFeatureFormatMapper → AbstractFeatureFormatMapper
    Annotations
    @Override()
  19. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  26. def toBooleanFeatureValue(featureType: BooleanFeatureType, ntv: Map[String, Float]): BooleanFeatureValue
    Attributes
    protected[value]
    Definition Classes
    NTVFeatureFormatMapper → AbstractFeatureFormatMapper
    Annotations
    @Override()
  27. def toCategoricalFeatureValue(featureType: CategoricalFeatureType, ntv: Map[String, Float]): CategoricalFeatureValue
    Attributes
    protected[value]
    Definition Classes
    NTVFeatureFormatMapper → AbstractFeatureFormatMapper
    Annotations
    @Override()
  28. def toCategoricalSetFeatureValue(featureType: CategoricalSetFeatureType, ntv: Map[String, Float]): CategoricalSetFeatureValue
    Attributes
    protected[value]
    Definition Classes
    NTVFeatureFormatMapper → AbstractFeatureFormatMapper
    Annotations
    @Override()
  29. def toDenseVectorFeatureValue(featureType: DenseVectorFeatureType, ntv: Map[String, Float]): DenseVectorFeatureValue
    Attributes
    protected[value]
    Definition Classes
    NTVFeatureFormatMapper → AbstractFeatureFormatMapper
    Annotations
    @Override()
  30. def toFeatureValue(featureType: FeatureType, externalValue: Map[String, Float]): FeatureValue

    Converts a datum in the external representation into the FeatureValue format.

    Converts a datum in the external representation into the FeatureValue format. The FeatureType of the feature must be known.

    featureType

    type of this feature

    externalValue

    datum in the external representation

    returns

    datum represented as a FeatureValue

    Definition Classes
    AbstractFeatureFormatMapper → FeatureFormatMapper
    Annotations
    @Override()
  31. def toNumericFeatureValue(featureType: NumericFeatureType, ntv: Map[String, Float]): NumericFeatureValue
    Attributes
    protected[value]
    Definition Classes
    NTVFeatureFormatMapper → AbstractFeatureFormatMapper
    Annotations
    @Override()
  32. def toString(): String
    Definition Classes
    AnyRef → Any
  33. def toTensorFeatureValue(featureType: TensorFeatureType, ntv: Map[String, Float]): TensorFeatureValue
    Attributes
    protected[value]
    Definition Classes
    NTVFeatureFormatMapper → AbstractFeatureFormatMapper
    Annotations
    @Override()
  34. def toTermVectorFeatureValue(featureType: TermVectorFeatureType, ntv: Map[String, Float]): TermVectorFeatureValue
    Attributes
    protected[value]
    Definition Classes
    NTVFeatureFormatMapper → AbstractFeatureFormatMapper
    Annotations
    @Override()
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AbstractFeatureFormatMapper[Map[String, Float]]

Inherited from FeatureFormatMapper[Map[String, Float]]

Inherited from AnyRef

Inherited from Any

Ungrouped