package featran
- Alphabetic
- Public
- All
Type Members
- trait CanBuild[T, M[_]] extends Serializable
-
trait
CollectionType[M[_]] extends Serializable
Type class for collections to extract features from.
Type class for collections to extract features from.
- M
collection type
- Annotations
- @implicitNotFound( ... ) @typeclass( ... , ... )
- class Feature[T, A, B, C] extends Serializable
-
trait
FeatureBuilder[T] extends Serializable
Type class for types to build feature into.
Type class for types to build feature into.
- T
output feature type
- Annotations
- @implicitNotFound( ... ) @typeclass( ... , ... )
-
class
FeatureExtractor[M[_], T] extends Serializable
Encapsulate features extracted from a FeatureSpec.
Encapsulate features extracted from a FeatureSpec.
- M
input collection type, e.g.
Array
, List- T
input record type to extract features from
- sealed trait FeatureRejection extends AnyRef
- case class FeatureResult[F, T](value: F, rejections: Map[String, FeatureRejection], original: T) extends Product with Serializable
-
class
FeatureSpec[T] extends AnyRef
Encapsulate specification for feature extraction and transformation.
Encapsulate specification for feature extraction and transformation.
- T
input record type to extract features from
- trait FeatureSpecCompat extends AnyRef
-
trait
FlatReader[T] extends Serializable
TypeClass that is used to read data from flat files.
TypeClass that is used to read data from flat files. The requirement is that each feature comes from the same type and can be looked up by name.
- T
The intermediate storage format for each feature.
- Annotations
- @implicitNotFound( ... ) @typeclass( ... , ... )
-
trait
FlatWriter[+T] extends Serializable
TypeClass for implementing the writer to a flat format keyed by name
TypeClass for implementing the writer to a flat format keyed by name
- Annotations
- @implicitNotFound( ... ) @typeclass( ... , ... )
-
trait
FloatingPoint[T] extends Serializable
Type class for floating point primitives.
Type class for floating point primitives.
- Annotations
- @implicitNotFound( ... ) @typeclass( ... , ... )
-
class
MultiFeatureExtractor[M[_], T] extends Serializable
Encapsulate features extracted from a MultiFeatureSpec.
Encapsulate features extracted from a MultiFeatureSpec. Allows separation back into specs by names or vectors.
- M
input collection type, e.g.
Array
, List- T
input record type to extract features from
-
class
MultiFeatureSpec[T] extends AnyRef
Wrapper for FeatureSpec that allows for combination and separation of different specs.
-
case class
NamedSparseArray[T](indices: Array[Int], values: Array[T], length: Int, names: Seq[String]) extends Product with Serializable
A SparseArray with names of non-zero entries.
-
class
RecordExtractor[T, F] extends AnyRef
Encapsulate RecordExtractor for extracting individual records.
-
case class
SparseArray[T](indices: Array[Int], values: Array[T], length: Int) extends Product with Serializable
A sparse representation of an array using two arrays for indices and values of non-zero entries.
Value Members
- object CanBuild extends Serializable
- object CollectionType extends Serializable
- object CrossingFeatureBuilder extends Serializable
- object FeatureBuilder extends Serializable
- object FeatureRejection
-
object
FeatureSpec extends FeatureSpecCompat
Companion object for FeatureSpec.
-
object
FlatConverter extends Serializable
Companion to FlatReader.
Companion to FlatReader. Sometimes for serialization and compatability reasons it is better to write out data in an intermediate format such as JSON or tf.examples to interface with storage or other systems. This class uses the functions internal to a spec to write out the data into a new flat format.
-
object
FlatExtractor extends Serializable
Sometimes it is useful to store the features in an intermediate state in normally a flat version like Examples or maybe JSON.
Sometimes it is useful to store the features in an intermediate state in normally a flat version like Examples or maybe JSON. This makes it easier to interface with other systems.
- object FlatReader extends Serializable
- object FlatWriter extends Serializable
- object FloatingPoint extends Serializable
-
object
MultiFeatureSpec
Companion object for MultiFeatureSpec.
- object RecordExtractor