Package

com.spotify

featran

Permalink

package featran

Visibility
  1. Public
  2. All

Type Members

  1. trait CanBuild[T, M[_]] extends Serializable

    Permalink
  2. trait CollectionType[M[_]] extends Serializable

    Permalink

    Type class for collections to extract features from.

    Type class for collections to extract features from.

    M

    collection type

    Annotations
    @implicitNotFound( ... )
  3. trait FeatureBuilder[T] extends Serializable

    Permalink

    Type class for types to build feature into.

    Type class for types to build feature into.

    T

    output feature type

    Annotations
    @implicitNotFound( ... )
  4. class FeatureExtractor[M[_], T] extends Serializable

    Permalink

    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

  5. sealed trait FeatureRejection extends AnyRef

    Permalink
  6. case class FeatureResult[F, T](value: F, rejections: Map[String, FeatureRejection], original: T) extends Product with Serializable

    Permalink
  7. class FeatureSpec[T] extends AnyRef

    Permalink

    Encapsulate specification for feature extraction and transformation.

    Encapsulate specification for feature extraction and transformation.

    T

    input record type to extract features from

  8. trait FlatReader[T] extends Serializable

    Permalink

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

    Permalink

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

    Permalink

    Type class for floating point primitives.

    Type class for floating point primitives.

    Annotations
    @implicitNotFound( ... )
  11. class MultiFeatureExtractor[M[_], T] extends Serializable

    Permalink

    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

  12. class MultiFeatureSpec[T] extends AnyRef

    Permalink

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

  13. case class NamedSparseArray[T](indices: Array[Int], values: Array[T], length: Int, names: Seq[String]) extends Product with Serializable

    Permalink

    A SparseArray with names of non-zero entries.

  14. class RecordExtractor[T, F] extends AnyRef

    Permalink

    Encapsulate RecordExtractor for extracting individual records.

  15. case class SparseArray[T](indices: Array[Int], values: Array[T], length: Int) extends Product with Serializable

    Permalink

    A sparse representation of an array using two arrays for indices and values of non-zero entries.

Value Members

  1. object CanBuild extends Serializable

    Permalink
  2. object CollectionType extends Serializable

    Permalink
  3. object CrossingFeatureBuilder extends Serializable

    Permalink
  4. object FeatureBuilder extends Serializable

    Permalink
  5. object FeatureRejection

    Permalink
  6. object FeatureSpec

    Permalink

    Companion object for FeatureSpec.

  7. object FlatConverter extends Serializable

    Permalink

    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

    Permalink

    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

    Permalink
  10. object FlatWriter extends Serializable

    Permalink
  11. object FloatingPoint extends Serializable

    Permalink
  12. object MultiFeatureSpec

    Permalink

    Companion object for MultiFeatureSpec.

  13. object RecordExtractor

    Permalink
  14. package converters

    Permalink
  15. package transformers

    Permalink

Ungrouped