Class

com.eharmony.aloha.models.reg

ConstantDeltaSpline

Related Doc: package reg

Permalink

case class ConstantDeltaSpline(min: Double, max: Double, knots: IndexedSeq[Double]) extends Spline with Product with Serializable

A spline with the property the delta between consecutive domain values is a fixed constant. Because of this, we just need to specify the min and max and the values in the image of the function.

NOTE: This class is exposed outside the package for use in aloha-conversions only. This class SHOULD NOT be used outside the aloha libraries.

min

the minimum domain value

max

the maximum domain value (strictly greater than min IFF spline has at least two knots, or equal to min IFF spline has one knot)

knots

Required to have a positive number of knots (size > 0).

Linear Supertypes
Serializable, Serializable, Product, Equals, Spline, (Double) ⇒ Double, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ConstantDeltaSpline
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Spline
  7. Function1
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ConstantDeltaSpline(min: Double, max: Double, knots: IndexedSeq[Double])

    Permalink

    min

    the minimum domain value

    max

    the maximum domain value (strictly greater than min IFF spline has at least two knots, or equal to min IFF spline has one knot)

    knots

    Required to have a positive number of knots (size > 0).

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 andThen[A](g: (Double) ⇒ A): (Double) ⇒ A

    Permalink
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  5. def apply(score: Double): Double

    Permalink
    Definition Classes
    ConstantDeltaSpline → Function1
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. val bin: Double

    Permalink

    If knots is one, then we want bin equal to be 1 so that the division to get the value of k in calibrate doesn't divide by zero.

    If knots is one, then we want bin equal to be 1 so that the division to get the value of k in calibrate doesn't divide by zero. If there are 2+ knots, then bin contains the dx value for the spline.

  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def compose[A](g: (A) ⇒ Double): (A) ⇒ Double

    Permalink
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    Any
  14. val knots: IndexedSeq[Double]

    Permalink

    Required to have a positive number of knots (size > 0).

  15. val max: Double

    Permalink

    the maximum domain value (strictly greater than min IFF spline has at least two knots, or equal to min IFF spline has one knot)

  16. val min: Double

    Permalink

    the minimum domain value

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

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

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

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

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

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

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

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

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

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Spline

Inherited from (Double) ⇒ Double

Inherited from AnyRef

Inherited from Any

Ungrouped