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

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

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

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

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

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

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

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

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

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

    Permalink
  15. val errorLogReversed: List[Double]

    Permalink
  16. val examples: Seq[D]

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

    Permalink
  18. val featureNormalizer: LinearFeatureNormalizer[M]

    Permalink
  19. def finalize(): Unit

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

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

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

    Permalink
  23. val inputX: M

    Permalink
  24. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  25. val iterations: Int

    Permalink
  26. implicit val module: Module[M, Double]

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

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

    Permalink
  29. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  31. val numFeatures: Int

    Permalink
  32. val objectiveExtractor: (D) ⇒ Double

    Permalink
  33. val objectiveNormalizer: LinearFeatureNormalizer[M]

    Permalink
  34. implicit val ringM: Ring[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