com.spotify.featran

Members list

Concise view

Type members

Classlikes

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

Attributes

Companion:
object
Source:
CanBuild.scala
Graph
Supertypes
trait Serializable
class Object
trait Matchable
class Any
object CanBuild

Attributes

Companion:
trait
Source:
CanBuild.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
trait CollectionType[M[_]] extends Serializable

Type class for collections to extract features from.

Type class for collections to extract features from.

Attributes

M

collection type

Companion:
object
Source:
CollectionType.scala
Graph
Supertypes
trait Serializable
class Object
trait Matchable
class Any

Attributes

Companion:
trait
Source:
CollectionType.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Source:
CrossingFeatureBuilder.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
class Feature[T, A, B, C] extends Serializable

Attributes

Source:
FeatureSpec.scala
Graph
Supertypes
trait Serializable
class Object
trait Matchable
class Any
trait FeatureBuilder[T] extends Serializable

Type class for types to build feature into.

Type class for types to build feature into.

Attributes

T

output feature type

Companion:
object
Source:
FeatureBuilder.scala
Graph
Supertypes
trait Serializable
class Object
trait Matchable
class Any
Self type

Attributes

Companion:
trait
Source:
FeatureBuilder.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
class FeatureExtractor[M[_], T] extends Serializable

Encapsulate features extracted from a FeatureSpec.

Encapsulate features extracted from a FeatureSpec.

Attributes

M

input collection type, e.g. Array, List

T

input record type to extract features from

Source:
FeatureExtractor.scala
Graph
Supertypes
trait Serializable
class Object
trait Matchable
class Any
sealed trait FeatureRejection

Attributes

Companion:
object
Source:
FeatureBuilder.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Collision.type
class Outlier
class Unseen

Attributes

Companion:
trait
Source:
FeatureBuilder.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
case class FeatureResult[F, T](value: F, rejections: Map[String, FeatureRejection], original: T)

Attributes

Source:
FeatureExtractor.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Companion object for FeatureSpec.

Companion object for FeatureSpec.

Attributes

Companion:
class
Source:
FeatureSpec.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
class FeatureSpec[T]

Encapsulate specification for feature extraction and transformation.

Encapsulate specification for feature extraction and transformation.

Attributes

T

input record type to extract features from

Companion:
object
Source:
FeatureSpec.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Attributes

Source:
FeatureSpecCompat.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object FeatureSpec.type

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.

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.

Attributes

Source:
FlatConverter.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

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.

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.

Attributes

Source:
FlatExtractor.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
trait FlatReader[T] extends Serializable

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.

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.

Attributes

T

The intermediate storage format for each feature.

Companion:
object
Source:
FlatExtractor.scala
Graph
Supertypes
trait Serializable
class Object
trait Matchable
class Any
object FlatReader

Attributes

Companion:
trait
Source:
FlatExtractor.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
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

Attributes

Companion:
object
Source:
FlatConverter.scala
Graph
Supertypes
trait Serializable
class Object
trait Matchable
class Any
object FlatWriter

Attributes

Companion:
trait
Source:
FlatConverter.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
trait FloatingPoint[T] extends Serializable

Type class for floating point primitives.

Type class for floating point primitives.

Attributes

Companion:
object
Source:
FloatingPoint.scala
Graph
Supertypes
trait Serializable
class Object
trait Matchable
class Any

Attributes

Companion:
trait
Source:
FloatingPoint.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
class MultiFeatureExtractor[M[_], T] extends Serializable

Encapsulate features extracted from a MultiFeatureSpec. Allows separation back into specs by names or vectors.

Encapsulate features extracted from a MultiFeatureSpec. Allows separation back into specs by names or vectors.

Attributes

M

input collection type, e.g. Array, List

T

input record type to extract features from

Source:
MultiFeatureExtractor.scala
Graph
Supertypes
trait Serializable
class Object
trait Matchable
class Any

Companion object for MultiFeatureSpec.

Companion object for MultiFeatureSpec.

Attributes

Companion:
class
Source:
MultiFeatureSpec.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
class MultiFeatureSpec[T](val mapping: Map[String, Int], val features: Array[Feature[T, _, _, _]], val crossings: Crossings)

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

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

Attributes

Companion:
object
Source:
MultiFeatureSpec.scala
Graph
Supertypes
class Object
trait Matchable
class Any
case class NamedSparseArray[T](indices: Array[Int], values: Array[T], length: Int, names: Seq[String])

A SparseArray with names of non-zero entries.

A SparseArray with names of non-zero entries.

Attributes

Source:
FeatureBuilder.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Attributes

Companion:
class
Source:
FeatureExtractor.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
class RecordExtractor[T, F]

Encapsulate RecordExtractor for extracting individual records.

Encapsulate RecordExtractor for extracting individual records.

Attributes

Companion:
object
Source:
FeatureExtractor.scala
Graph
Supertypes
class Object
trait Matchable
class Any
case class SparseArray[T](indices: Array[Int], values: Array[T], length: Int)

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

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

Attributes

Source:
FeatureBuilder.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any