Class

com.salesforce.op.features

FeatureBuilderWithExtract

Related Doc: package features

Permalink

final class FeatureBuilderWithExtract[I, O <: FeatureType] extends AnyRef

Feature Builder with an extract function

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FeatureBuilderWithExtract
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FeatureBuilderWithExtract(name: String, extractFn: (I) ⇒ O, extractSource: String)(implicit tti: scala.reflect.api.JavaUniverse.WeakTypeTag[I], tto: scala.reflect.api.JavaUniverse.WeakTypeTag[O])

    Permalink

    name

    feature name

    extractFn

    a function to extract value of the feature from the raw data

    extractSource

    source code of the extract function

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 aggregate(monoid: MonoidAggregator[Event[O], _, O]): FeatureBuilderWithExtract.this.type

    Permalink

    Feature aggregation with a monoid aggregator

    Feature aggregation with a monoid aggregator

    monoid

    a monoid aggregator

  5. def aggregate(fn: (O.Value, O.Value) ⇒ O.Value): FeatureBuilderWithExtract.this.type

    Permalink

    Feature aggregation function with zero value of FeatureTypeDefaults.default[O].value

    Feature aggregation function with zero value of FeatureTypeDefaults.default[O].value

    fn

    aggregation function

  6. def aggregate(zero: O.Value, fn: (O.Value, O.Value) ⇒ O.Value): FeatureBuilderWithExtract.this.type

    Permalink

    Feature aggregation function with zero value

    Feature aggregation function with zero value

    zero

    a zero element for aggregation

    fn

    aggregation function

  7. var aggregateWindow: Option[Duration]

    Permalink
  8. var aggregator: MonoidAggregator[Event[O], _, O]

    Permalink
  9. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  10. def asPredictor: Feature[O]

    Permalink

    Make a predictor feature

    Make a predictor feature

    returns

    a predictor feature

  11. def asResponse: Feature[O]

    Permalink

    Make a response feature

    Make a response feature

    returns

    a response feature

  12. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  15. val extractFn: (I) ⇒ O

    Permalink

    a function to extract value of the feature from the raw data

  16. val extractSource: String

    Permalink

    source code of the extract function

  17. def finalize(): Unit

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

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

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

    Permalink
    Definition Classes
    Any
  21. val name: String

    Permalink

    feature name

  22. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  25. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  27. implicit val tti: scala.reflect.api.JavaUniverse.WeakTypeTag[I]

    Permalink
  28. implicit val tto: scala.reflect.api.JavaUniverse.WeakTypeTag[O]

    Permalink
  29. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. def window(time: Duration): FeatureBuilderWithExtract.this.type

    Permalink

    Aggregation time window

    Aggregation time window

    time

    a time period during which to include features in aggregation

Inherited from AnyRef

Inherited from Any

Ungrouped