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
- Alphabetic
- By Inheritance
- PerceptronTest3
- App
- DelayedInit
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
- val b: VectorD
- val d: VectoD
- var e: VectoD
- var eta: Double
-
val
executionStart: Long
- Definition Classes
- App
- Annotations
- @deprecatedOverriding( ... , "2.11.0" )
- val g: VectoD
- val hp: HyperParameter
-
def
main(args: Array[String]): Unit
- Definition Classes
- App
- Annotations
- @deprecatedOverriding( "main should not be overridden" , "2.11.0" )
- val nn: Perceptron
- var sse: Double
- val sst: Double
- val x: MatriD
- var xb: VectoD
- val xy: MatrixD
- val y: VectoD
- var yp: VectoD
- var yp2: VectoD
Deprecated Value Members
-
def
delayedInit(body: ⇒ Unit): Unit
- Definition Classes
- App → DelayedInit
- Annotations
- @deprecated
- Deprecated
(Since version 2.11.0) the delayedInit mechanism will disappear