p

com.spotify

featran

package featran

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. 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( ... )
  2. 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( ... )
  3. 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

  4. sealed trait FeatureRejection extends AnyRef
  5. case class FeatureResult[F, T](value: F, rejections: Map[String, FeatureRejection], original: T) extends Product with Serializable
  6. 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

  7. 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( ... )
  8. 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( ... )
  9. trait FloatingPoint[T] extends Serializable

    Type class for floating point primitives.

    Type class for floating point primitives.

    Annotations
    @implicitNotFound( ... )
  10. 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

  11. class MultiFeatureSpec[T] extends AnyRef

    Wrapper for FeatureSpec that allows for combination and separation of different specs.

  12. 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.

  13. class RecordExtractor[T, F] extends AnyRef

    Encapsulate RecordExtractor for extracting individual records.

  14. 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

  1. object CollectionType extends Serializable
  2. object CrossingFeatureBuilder extends Serializable
  3. object FeatureBuilder extends Serializable
  4. object FeatureRejection
  5. object FeatureSpec

    Companion object for FeatureSpec.

  6. 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.

  7. 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.

  8. object FlatReader extends Serializable
  9. object FlatWriter extends Serializable
  10. object FloatingPoint extends Serializable
  11. object MultiFeatureSpec

    Companion object for MultiFeatureSpec.

  12. object RecordExtractor

Ungrouped