Class

axle.ml

LinearRegression

Related Doc: package ml

Permalink

case class LinearRegression[D, M](examples: Seq[D], numFeatures: Int, featureExtractor: (D) ⇒ Seq[Double], objectiveExtractor: (D) ⇒ Double, α: Double = 0.1, iterations: Int = 100)(implicit la: LinearAlgebra[M, Int, Int, Double]) extends (D) ⇒ Double with Product with Serializable

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

Instance Constructors

  1. new LinearRegression(examples: Seq[D], numFeatures: Int, featureExtractor: (D) ⇒ Seq[Double], objectiveExtractor: (D) ⇒ Double, α: Double = 0.1, iterations: Int = 100)(implicit la: LinearAlgebra[M, Int, Int, Double])

    Permalink

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. val X: M

    Permalink
  5. implicit val additive: AdditiveCSemigroup[M]

    Permalink
  6. def andThen[A](g: (Double) ⇒ A): (D) ⇒ A

    Permalink
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  7. def apply(observation: D): Double

    Permalink
    Definition Classes
    LinearRegression → Function1
  8. final def asInstanceOf[T0]: T0

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

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

    Permalink
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  11. def cost(xi: M, θ: M, yi: Double): Double

    Permalink
  12. def dTheta(X: M, y: M, θ: M): M

    Permalink
  13. def (X: M, y: M, θ: M): M

    Permalink
  14. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. def errTree: TreeMap[Int, Double]

    Permalink
  16. val errorLogReversed: List[Double]

    Permalink
  17. val examples: Seq[D]

    Permalink
  18. val featureExtractor: (D) ⇒ Seq[Double]

    Permalink
  19. val featureNormalizer: LinearFeatureNormalizer[M]

    Permalink
  20. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  22. def gradientDescent(X: M, y: M, θ: M, α: Double, iterations: Int): (M, List[Double])

    Permalink
  23. def h(xi: M, θ: M): M

    Permalink
  24. val inputX: M

    Permalink
  25. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  26. val iterations: Int

    Permalink
  27. implicit val mul: MultiplicativeSemigroup[M]

    Permalink
  28. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  29. def normalEquation(X: M, y: M): M

    Permalink
  30. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  32. val numFeatures: Int

    Permalink
  33. val objectiveExtractor: (D) ⇒ Double

    Permalink
  34. val objectiveNormalizer: LinearFeatureNormalizer[M]

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. val y: M

    Permalink
  41. val α: Double

    Permalink
  42. val θ: M

    Permalink
  43. val θ0: M

    Permalink

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from (D) ⇒ Double

Inherited from AnyRef

Inherited from Any

Ungrouped