object PerceptronTest2 extends App
The PerceptronTest2
object trains a perceptron on a small dataset of
temperatures from counties in Texas where the variables/factors to consider
are Latitude (x1), Elevation (x2) and Longitude (x3). The model equation
is the following:
y = sigmoid (w dot x) = sigmoid (w0 + w1*x1 + w2*x2 + w3*x3)
This test case illustrates how to transform the columns of the matrix so that the 'sigmoid' activation function can work effectively. Since the dataset is very small, should use 'train0' which does no batching. > runMain scalation.analytics.PerceptronTest2
- Alphabetic
- By Inheritance
- PerceptronTest2
- App
- DelayedInit
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
val
executionStart: Long
- Definition Classes
- App
- Annotations
- @deprecatedOverriding( ... , "2.11.0" )
-
def
main(args: Array[String]): Unit
- Definition Classes
- App
- Annotations
- @deprecatedOverriding( "main should not be overridden" , "2.11.0" )
- val nn: Perceptron
- val x: MatriD
- val xy: MatrixD
- val y: VectoD
- val ymax: Double
- val ymin: Double
- val yp: VectoD
- val ypu: 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