Packages

o

scalation.analytics

PerceptronTest3

object PerceptronTest3 extends App

The PerceptronTest3 object trains a perceptron on a small dataset with variables x1 and x2. The model equation is the following:

y = sigmoid (b dot x) = sigmoid (b0 + b1*x1 + b2*x2)

Does not call the 'train' method; improvements steps for sigmoid are explicitly in code below. > runMain scalation.analytics.PerceptronTest3

Linear Supertypes
App, DelayedInit, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PerceptronTest3
  2. App
  3. DelayedInit
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. val b: VectorD
  2. val d: VectoD
  3. var e: VectoD
  4. var eta: Double
  5. final val executionStart: Long
    Definition Classes
    App
  6. val g: VectoD
  7. val hp: HyperParameter
  8. final def main(args: Array[String]): Unit
    Definition Classes
    App
  9. val nn: Perceptron
  10. var sse: Double
  11. val sst: Double
  12. val x: MatriD
  13. var xb: VectoD
  14. val xy: MatrixD
  15. val y: VectoD
  16. var yp: VectoD
  17. var yp2: VectoD

Deprecated Value Members

  1. def delayedInit(body: => Unit): Unit
    Definition Classes
    App → DelayedInit
    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.0) the delayedInit mechanism will disappear