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 Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. LinearRegression
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. 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. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def cost(xi: M, θ: M, yi: Double): Double

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

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

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

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

    Permalink
  12. val errorLogReversed: List[Double]

    Permalink
  13. def estimate(observation: D): Double

    Permalink
  14. val examples: Seq[D]

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

    Permalink
  16. val featureNormalizer: LinearFeatureNormalizer[M]

    Permalink
  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 gradientDescent(X: M, y: M, θ: M, α: Double, iterations: Int): (M, List[Double])

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

    Permalink
  21. val inputX: M

    Permalink
  22. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  23. val iterations: Int

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

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

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

    Permalink
  27. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  29. val numFeatures: Int

    Permalink
  30. val objectiveExtractor: (D) ⇒ Double

    Permalink
  31. val objectiveNormalizer: LinearFeatureNormalizer[M]

    Permalink
  32. implicit val ring: Ring[M]

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

    Permalink
    Definition Classes
    AnyRef
  34. final def wait(): Unit

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

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

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

    Permalink
  38. val α: Double

    Permalink
  39. val θ: M

    Permalink
  40. val θ0: M

    Permalink

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped