Class

com.salesforce.op.dsl.RichNumericFeature

RichNumericFeature

Related Doc: package RichNumericFeature

Permalink

implicit class RichNumericFeature[I <: OPNumeric[_]] extends AnyRef

Enrichment functions for Numeric Feature

I

input type

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

Instance Constructors

  1. new RichNumericFeature(f: FeatureLike[I])(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[I], arg1: ClassTag[I])

    Permalink

    f

    FeatureLike

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def *[N](v: N)(implicit n: Numeric[N]): FeatureLike[Real]

    Permalink

    Apply Multiply scalar transformer shortcut function

    Apply Multiply scalar transformer shortcut function

    N

    value type

    v

    scalar value

    n

    value converter

    returns

    transformed feature

  4. def *[I2 <: OPNumeric[_]](that: FeatureLike[I2])(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[I2]): FeatureLike[Real]

    Permalink

    Apply Multiply transformer shortcut function

    Apply Multiply transformer shortcut function

    Multiply function truth table (Real as example):

    Real.empty * Real.empty = Real.empty Real.empty * Real(x) = Real.empty Real(x) * Real.empty = Real.empty Real(x) * Real(y) = Real(x * y) filter ("is not NaN or Infinity")

    I2

    that feature output type

    that

    feature to divide by

    returns

    transformed feature

  5. def +[N](v: N)(implicit n: Numeric[N]): FeatureLike[Real]

    Permalink

    Apply Plus scalar transformer shortcut function

    Apply Plus scalar transformer shortcut function

    N

    value type

    v

    scalar value

    n

    value converter

    returns

    transformed feature

  6. def +[I2 <: OPNumeric[_]](that: FeatureLike[I2])(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[I2]): FeatureLike[Real]

    Permalink

    Apply Plus transformer shortcut function

    Apply Plus transformer shortcut function

    Plus function truth table (Real as example):

    Real.empty + Real.empty = Real.empty Real.empty + Real(x) = Real(x) Real(x) + Real.empty = Real(x) Real(x) + Real(y) = Real(x + y)

    I2

    that feature output type

    that

    feature to divide by

    returns

    transformed feature

  7. def -[N](v: N)(implicit n: Numeric[N]): FeatureLike[Real]

    Permalink

    Apply Minus scalar transformer shortcut function

    Apply Minus scalar transformer shortcut function

    N

    value type

    v

    scalar value

    n

    value converter

    returns

    transformed feature

  8. def -[I2 <: OPNumeric[_]](that: FeatureLike[I2])(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[I2]): FeatureLike[Real]

    Permalink

    Apply Minus transformer shortcut function

    Apply Minus transformer shortcut function

    Minus function truth table (Real as example):

    Real.empty - Real.empty = Real.empty Real.empty - Real(x) = Real(-x) Real(x) - Real.empty = Real(x) Real(x) - Real(y) = Real(x - y)

    I2

    that feature output type

    that

    feature to divide by

    returns

    transformed feature

  9. def /[N](v: N)(implicit n: Numeric[N]): FeatureLike[Real]

    Permalink

    Apply Divide scalar transformer shortcut function

    Apply Divide scalar transformer shortcut function

    N

    value type

    v

    scalar value

    n

    value converter

    returns

    transformed feature

  10. def /[I2 <: OPNumeric[_]](that: FeatureLike[I2])(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[I2]): FeatureLike[Real]

    Permalink

    Apply Divide transformer shortcut function

    Apply Divide transformer shortcut function

    Divide function truth table (Real as example):

    Real.empty / Real.empty = Real.empty Real.empty / Real(x) = Real.empty Real(x) / Real.empty = Real.empty Real(x) / Real(y) = Real(x / y) filter ("is not NaN or Infinity")

    I2

    that feature output type

    that

    feature to divide by

    returns

    transformed feature

  11. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def abs(): FeatureLike[Real]

    Permalink

    Take the absolute value of the feature

    Take the absolute value of the feature

    returns

    transformed feature

  13. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  14. def ceil(): FeatureLike[Integral]

    Permalink

    Take the ceil of the feature value

    Take the ceil of the feature value

    returns

    transformed feature

  15. def clone(): AnyRef

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  18. def exp(): FeatureLike[Real]

    Permalink

    Exp transformer: returns Euler's number e raised to the power of feature value

    Exp transformer: returns Euler's number e raised to the power of feature value

    returns

    transformed feature

  19. val f: FeatureLike[I]

    Permalink

    FeatureLike

  20. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. def floor(): FeatureLike[Integral]

    Permalink

    Take the floor of the feature value

    Take the floor of the feature value

    returns

    transformed feature

  22. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    Any
  25. def log(base: Double): FeatureLike[Real]

    Permalink

    Log transformer

    Log transformer

    returns

    transformed feature

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

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

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

    Permalink
    Definition Classes
    AnyRef
  29. def power(power: Double): FeatureLike[Real]

    Permalink

    Power transformer

    Power transformer

    returns

    transformed feature

  30. def round(digits: Int): FeatureLike[Real]

    Permalink

    Round the feature value

    Round the feature value

    returns

    transformed feature

  31. def round(): FeatureLike[Integral]

    Permalink

    Round the feature value

    Round the feature value

    returns

    transformed feature

  32. def sqrt(): FeatureLike[Real]

    Permalink

    Square root transformer

    Square root transformer

    returns

    transformed feature

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

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped