Class

axle.ml

LogisticRegression

Related Doc: package ml

Permalink

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

Linear Supertypes
Serializable, Serializable, Product, Equals, (List[Double]) ⇒ Double, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LogisticRegression
  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 LogisticRegression(examples: List[D], numFeatures: Int, featureExtractor: (D) ⇒ List[Double], objectiveExtractor: (D) ⇒ Boolean, α: Double = 0.1, numIterations: 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. def (X: M, θ: M, y: M): Double

    Permalink
  5. val X: M

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

    Permalink
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  7. def apply(features: List[Double]): Double

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

    Permalink
    Definition Classes
    Any
  9. def boolean2double(b: Boolean): Double

    Permalink
  10. def clone(): AnyRef

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  15. val examples: List[D]

    Permalink
  16. val featureExtractor: (D) ⇒ List[Double]

    Permalink
  17. val featureNormalizer: LinearFeatureNormalizer[M]

    Permalink
  18. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. val finalθ: M

    Permalink
  20. final def getClass(): Class[_]

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

    Permalink

    Gradient descent's objective: minimize (over θ) the value of Jθ

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

    Permalink
  23. val inputX: M

    Permalink
  24. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  25. implicit val mul: MultiplicativeSemigroup[M]

    Permalink
  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. val numFeatures: Int

    Permalink
  30. val numIterations: Int

    Permalink
  31. val objectiveExtractor: (D) ⇒ Boolean

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

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

    Permalink
    Definition Classes
    Function1 → AnyRef → Any
  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

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from (List[Double]) ⇒ Double

Inherited from AnyRef

Inherited from Any

Ungrouped