Package

com.spotify

featran

Permalink

package featran

Visibility
  1. Public
  2. All

Type Members

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

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

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

  4. sealed trait FeatureRejection extends AnyRef

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

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

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

  8. trait FlatWriter[+T] extends Serializable

    Permalink

    TypeClass for implementing the writer to a flat format keyed by name

  9. trait FloatingPoint[T] extends Serializable

    Permalink

    Type class for floating point primitives.

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

  11. class MultiFeatureSpec[T] extends AnyRef

    Permalink

    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

    Permalink

    A SparseArray with names of non-zero entries.

  13. class RecordExtractor[T, F] extends AnyRef

    Permalink

    Encapsulate RecordExtractor for extracting individual records.

  14. 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 CollectionType extends Serializable

    Permalink
  2. object CrossingFeatureBuilder extends Serializable

    Permalink
  3. object FeatureBuilder extends Serializable

    Permalink
  4. object FeatureRejection

    Permalink
  5. object FeatureSpec

    Permalink

    Companion object for FeatureSpec.

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

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

  8. object FlatReader extends Serializable

    Permalink
  9. object FlatWriter extends Serializable

    Permalink
  10. object FloatingPoint extends Serializable

    Permalink
  11. object MultiFeatureSpec

    Permalink

    Companion object for MultiFeatureSpec.

  12. object RecordExtractor

    Permalink
  13. package converters

    Permalink
  14. package transformers

    Permalink

Ungrouped