abstract class AbstractFeatureFormatMapper[T] extends FeatureFormatMapper[T]
Abstract base class for FeatureFormatMapper. Breaks down conversion behavior based on the various feature types.
- Alphabetic
- By Inheritance
- AbstractFeatureFormatMapper
- FeatureFormatMapper
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new AbstractFeatureFormatMapper()
Abstract Value Members
-
abstract
def
fromBooleanFeatureValue(featureValue: BooleanFeatureValue): T
- Attributes
- protected[value]
-
abstract
def
fromCategoricalFeatureValue(featureValue: CategoricalFeatureValue): T
- Attributes
- protected[value]
-
abstract
def
fromCategoricalSetFeatureValue(featureValue: CategoricalSetFeatureValue): T
- Attributes
- protected[value]
-
abstract
def
fromDenseVectorFeatureValue(featureValue: DenseVectorFeatureValue): T
- Attributes
- protected[value]
-
abstract
def
fromNumericFeatureValue(featureValue: NumericFeatureValue): T
- Attributes
- protected[value]
-
abstract
def
fromTensorFeatureValue(featureValue: TensorFeatureValue): T
- Attributes
- protected[value]
-
abstract
def
fromTermVectorFeatureValue(featureValue: TermVectorFeatureValue): T
- Attributes
- protected[value]
-
abstract
def
toBooleanFeatureValue(featureType: BooleanFeatureType, externalValue: T): BooleanFeatureValue
- Attributes
- protected[value]
-
abstract
def
toCategoricalFeatureValue(featureType: CategoricalFeatureType, externalValue: T): CategoricalFeatureValue
- Attributes
- protected[value]
-
abstract
def
toCategoricalSetFeatureValue(featureType: CategoricalSetFeatureType, externalValue: T): CategoricalSetFeatureValue
- Attributes
- protected[value]
-
abstract
def
toDenseVectorFeatureValue(featureType: DenseVectorFeatureType, externalValue: T): DenseVectorFeatureValue
- Attributes
- protected[value]
-
abstract
def
toNumericFeatureValue(featureType: NumericFeatureType, externalValue: T): NumericFeatureValue
- Attributes
- protected[value]
-
abstract
def
toTensorFeatureValue(featureType: TensorFeatureType, externalValue: T): TensorFeatureValue
- Attributes
- protected[value]
-
abstract
def
toTermVectorFeatureValue(featureType: TermVectorFeatureType, externalValue: T): TermVectorFeatureValue
- Attributes
- protected[value]
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
cannotConvertToFeatureValue(featureType: FeatureType, externalValue: T): RuntimeException
- Attributes
- protected[value]
-
def
cannotConvertToFeatureValue(featureType: FeatureType, externalValue: T, cause: Exception): RuntimeException
- Attributes
- protected[value]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
fromFeatureValue(featureValue: FeatureValue): T
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()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toFeatureValue(featureType: FeatureType, externalValue: T): 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()
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()