Package com.linkedin.feathr.common.value
Class QuinceFeatureFormatMapper
java.lang.Object
com.linkedin.feathr.common.value.AbstractFeatureFormatMapper<TensorData>
com.linkedin.feathr.common.value.QuinceFeatureFormatMapper
- All Implemented Interfaces:
FeatureFormatMapper<TensorData>
A FeatureFormatMapper that can represent any FeatureValue as a Quince TensorData.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionprotected TensorDatafromBooleanFeatureValue(BooleanFeatureValue featureValue) protected TensorDatafromCategoricalFeatureValue(CategoricalFeatureValue featureValue) protected TensorDatafromCategoricalSetFeatureValue(CategoricalSetFeatureValue featureValue) protected TensorDatafromDenseVectorFeatureValue(DenseVectorFeatureValue featureValue) protected TensorDatafromNumericFeatureValue(NumericFeatureValue featureValue) protected TensorDatafromTensorFeatureValue(TensorFeatureValue featureValue) protected TensorDatafromTermVectorFeatureValue(TermVectorFeatureValue featureValue) protected BooleanFeatureValuetoBooleanFeatureValue(BooleanFeatureType featureType, TensorData tensor) protected CategoricalFeatureValuetoCategoricalFeatureValue(CategoricalFeatureType featureType, TensorData tensor) protected CategoricalSetFeatureValuetoCategoricalSetFeatureValue(CategoricalSetFeatureType featureType, TensorData tensor) protected DenseVectorFeatureValuetoDenseVectorFeatureValue(DenseVectorFeatureType featureType, TensorData tensor) protected NumericFeatureValuetoNumericFeatureValue(NumericFeatureType featureType, TensorData tensor) protected TensorFeatureValuetoTensorFeatureValue(TensorFeatureType featureType, TensorData externalValue) protected TermVectorFeatureValuetoTermVectorFeatureValue(TermVectorFeatureType featureType, TensorData tensor) Methods inherited from class com.linkedin.feathr.common.value.AbstractFeatureFormatMapper
cannotConvertToFeatureValue, cannotConvertToFeatureValue, fromFeatureValue, toFeatureValue
-
Field Details
-
INSTANCE
-
-
Method Details
-
fromNumericFeatureValue
- Specified by:
fromNumericFeatureValuein classAbstractFeatureFormatMapper<TensorData>
-
fromBooleanFeatureValue
- Specified by:
fromBooleanFeatureValuein classAbstractFeatureFormatMapper<TensorData>
-
fromCategoricalFeatureValue
- Specified by:
fromCategoricalFeatureValuein classAbstractFeatureFormatMapper<TensorData>
-
fromCategoricalSetFeatureValue
- Specified by:
fromCategoricalSetFeatureValuein classAbstractFeatureFormatMapper<TensorData>
-
fromTermVectorFeatureValue
- Specified by:
fromTermVectorFeatureValuein classAbstractFeatureFormatMapper<TensorData>
-
fromDenseVectorFeatureValue
- Specified by:
fromDenseVectorFeatureValuein classAbstractFeatureFormatMapper<TensorData>
-
fromTensorFeatureValue
- Specified by:
fromTensorFeatureValuein classAbstractFeatureFormatMapper<TensorData>
-
toNumericFeatureValue
protected NumericFeatureValue toNumericFeatureValue(NumericFeatureType featureType, TensorData tensor) - Specified by:
toNumericFeatureValuein classAbstractFeatureFormatMapper<TensorData>
-
toBooleanFeatureValue
protected BooleanFeatureValue toBooleanFeatureValue(BooleanFeatureType featureType, TensorData tensor) - Specified by:
toBooleanFeatureValuein classAbstractFeatureFormatMapper<TensorData>
-
toCategoricalFeatureValue
protected CategoricalFeatureValue toCategoricalFeatureValue(CategoricalFeatureType featureType, TensorData tensor) - Specified by:
toCategoricalFeatureValuein classAbstractFeatureFormatMapper<TensorData>
-
toCategoricalSetFeatureValue
protected CategoricalSetFeatureValue toCategoricalSetFeatureValue(CategoricalSetFeatureType featureType, TensorData tensor) - Specified by:
toCategoricalSetFeatureValuein classAbstractFeatureFormatMapper<TensorData>
-
toTermVectorFeatureValue
protected TermVectorFeatureValue toTermVectorFeatureValue(TermVectorFeatureType featureType, TensorData tensor) - Specified by:
toTermVectorFeatureValuein classAbstractFeatureFormatMapper<TensorData>
-
toDenseVectorFeatureValue
protected DenseVectorFeatureValue toDenseVectorFeatureValue(DenseVectorFeatureType featureType, TensorData tensor) - Specified by:
toDenseVectorFeatureValuein classAbstractFeatureFormatMapper<TensorData>
-
toTensorFeatureValue
protected TensorFeatureValue toTensorFeatureValue(TensorFeatureType featureType, TensorData externalValue) - Specified by:
toTensorFeatureValuein classAbstractFeatureFormatMapper<TensorData>
-