p

com.spotify

featran

package featran

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. trait CanBuild[T, M[_]] extends Serializable
  2. 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( ... , ... )
  3. class Feature[T, A, B, C] extends Serializable
  4. 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( ... , ... )
  5. 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

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

  9. trait FeatureSpecCompat extends AnyRef
  10. 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( ... , ... )
  11. 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( ... , ... )
  12. trait FloatingPoint[T] extends Serializable

    Type class for floating point primitives.

    Type class for floating point primitives.

    Annotations
    @implicitNotFound( ... ) @typeclass( ... , ... )
  13. 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

  14. class MultiFeatureSpec[T] extends AnyRef

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

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

  16. class RecordExtractor[T, F] extends AnyRef

    Encapsulate RecordExtractor for extracting individual records.

  17. 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 CanBuild extends Serializable
  2. object CollectionType extends Serializable
  3. object CrossingFeatureBuilder extends Serializable
  4. object FeatureBuilder extends Serializable
  5. object FeatureRejection
  6. object FeatureSpec extends FeatureSpecCompat

    Companion object for FeatureSpec.

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

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

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

    Companion object for MultiFeatureSpec.

  13. object RecordExtractor

Ungrouped