Object/Class

io.radanalytics.silex.feature.extractor

Extractor

Related Docs: class Extractor | package extractor

Permalink

object Extractor extends Serializable

Factory methods for creating various flavors of feature Extractor.

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Extractor
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def apply[D](fList: (D) ⇒ Double*): Extractor[D]

    Permalink

    Obtain a new extractor that computes its values from zero or more functions

    Obtain a new extractor that computes its values from zero or more functions

    fList

    Zero or more functions from domain to individual feature values.

    returns

    An extractor that returns feature sequence (f0(d), f1(d), ...)

  5. def apply[D](width: Int, function: (D) ⇒ FeatureSeq): Extractor[D]

    Permalink
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def constant[D](vList: Double*): Extractor[D]

    Permalink

    Obtain a new extractor that always returns the same constant features

    Obtain a new extractor that always returns the same constant features

    vList

    Zero or more values that will be returned as a constant FeatureSeq

    returns

    A constant-valued extractor that always returns feature sequence (v0, v1, ...)

  9. def empty[D]: Extractor[D]

    Permalink

    Obtain a new empty extractor: an extractor returning FeatureSeq of zero length

    Obtain a new empty extractor: an extractor returning FeatureSeq of zero length

    returns

    An extractor that returns feature sequences of zero length.

  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. def numeric[N](jList: Int*)(implicit arg0: Numeric[N]): Extractor[PartialFunction[Int, N]]

    Permalink

    Obtain a new extractor that selects numeric values by a list of indices

    Obtain a new extractor that selects numeric values by a list of indices

    jList

    Zero or more indices

    returns

    An extractor that returns feature sequence (d(j0), d(j1), ...)

  20. def numericSeq[N](w: Int)(implicit arg0: Numeric[N]): Extractor[Seq[N]]

    Permalink

    Obtain a new extractor that loads an entire numeric sequence into a feature sequence

    Obtain a new extractor that loads an entire numeric sequence into a feature sequence

    w

    The width of the extractor, and required input sequence length

    returns

    an extractor that will load sequences of numeric values into a feature sequence

  21. def quadraticByIndex[D](extr: Extractor[D], indexes: Seq[Int], diag: Boolean = false): Extractor[FeatureSeq]

    Permalink

    Generate a quadratic expansion over a set of features by their index.

    Generate a quadratic expansion over a set of features by their index.

    extr

    The Extractor whose output features are to be expanded.

    indexes

    A list of the feature indexes to expand.

    diag

    If true, expand features with themselves (square them). Otherwise, only generate products with other features. Defaults to false.

    returns

    An extractor whose domain is the output of this extractor, which computes the pairwise products of the given features.

  22. def quadraticByName[D](extr: Extractor[D], features: Seq[String], diag: Boolean = false): Extractor[FeatureSeq]

    Permalink

    Generate a quadratic expansion over a set of named features.

    Generate a quadratic expansion over a set of named features.

    extr

    The Extractor whose output features are to be expanded.

    features

    A list of feature names to expand.

    diag

    If true, expand features with themselves (square them). Otherwise, only generate products with other features. Defaults to false.

    returns

    An extractor whose domain is the output of this extractor, which computes the pairwise products of the given features.

  23. def string(jList: Int*): Extractor[PartialFunction[Int, String]]

    Permalink

    Obtain a new extractor that selects numeric strings by a list of indices, and converts them to Double.

    Obtain a new extractor that selects numeric strings by a list of indices, and converts them to Double.

    jList

    Zero or more indices

    returns

    An extractor that returns feature sequence (d(j0).toDouble, d(j1).toDouble, ...)

  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped